From 5342629a0a6c58532b48a2669d4aca9fdce35170 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 17 Sep 2016 18:05:02 +0200 Subject: Adding webm playback to UI --- app/views/api/statuses/show.rabl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/api') 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)) } -- cgit