Fixing atom feeds for accounts, adding tests that would catch such bugs in future
This commit is contained in:
parent
499beb4484
commit
87576e1ab1
9 changed files with 41 additions and 7 deletions
|
@ -126,7 +126,7 @@ module AtomBuilderHelper
|
|||
end
|
||||
|
||||
def link_enclosure(xml, media)
|
||||
xml.link(rel: 'enclosure', href: full_asset_url(media.file.url), type: media.file_content_type, length: media.file_size)
|
||||
xml.link(rel: 'enclosure', href: full_asset_url(media.file.url), type: media.file_content_type, length: media.file_file_size)
|
||||
end
|
||||
|
||||
def link_avatar(xml, account)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue