Normalized data in Redux, fix for asset URLs when rendered outside request
This commit is contained in:
parent
7939a216ff
commit
1022d682dc
9 changed files with 71 additions and 27 deletions
|
@ -214,6 +214,6 @@ module AtomBuilderHelper
|
|||
end
|
||||
|
||||
def single_link_avatar(xml, account, size, px)
|
||||
xml.link('rel' => 'avatar', 'type' => account.avatar_content_type, 'media:width' => px, 'media:height' =>px, 'href' => asset_url(account.avatar.url(size, false)))
|
||||
xml.link('rel' => 'avatar', 'type' => account.avatar_content_type, 'media:width' => px, 'media:height' =>px, 'href' => full_asset_url(account.avatar.url(size, false)))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue