about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-17 18:05:02 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-17 18:05:02 +0200
commit5342629a0a6c58532b48a2669d4aca9fdce35170 (patch)
tree0a1f6fbae5d21b23b5da2b457754f848a38c51a0 /app/views
parentbd5ad304bac69b34a3c223e9baac532106db7dd8 (diff)
Adding webm playback to UI
Diffstat (limited to 'app/views')
-rw-r--r--app/views/api/statuses/show.rabl2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/api/statuses/show.rabl b/app/views/api/statuses/show.rabl
index 047436b61..2f30f68cc 100644
--- a/app/views/api/statuses/show.rabl
+++ b/app/views/api/statuses/show.rabl
@@ -18,7 +18,7 @@ child :account do
 end
 
 child :media_attachments, object_root: false do
-  attributes :id, :remote_url
+  attributes :id, :remote_url, :type
 
   node(:url) { |media| full_asset_url(media.file.url) }
   node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }