Adding enclosures to Atom and statuses JSON

This commit is contained in:
Eugen Rochko
2016-09-05 18:57:59 +02:00
parent eec0dc46a6
commit 1d9c886518
4 changed files with 19 additions and 1 deletions

View File

@ -16,3 +16,7 @@ end
child :account do
extends('api/accounts/show')
end
child :media_attachments do
node(:url) { |media| full_asset_url(media.file.url) }
end