about summary refs log tree commit diff
path: root/app/views/api/statuses/show.rabl
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/api/statuses/show.rabl')
-rw-r--r--app/views/api/statuses/show.rabl4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/api/statuses/show.rabl b/app/views/api/statuses/show.rabl
index 0f4418870..b8cf075fe 100644
--- a/app/views/api/statuses/show.rabl
+++ b/app/views/api/statuses/show.rabl
@@ -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