Adding enclosures to Atom and statuses JSON
This commit is contained in:
parent
eec0dc46a6
commit
1d9c886518
4 changed files with 19 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue