Fixing atom feeds for accounts, adding tests that would catch such bugs in future
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user