about summary refs log tree commit diff
path: root/app/views/api/v1
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-05 17:13:05 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-05 17:13:44 +0100
commit64d109dc0e39574d4ed45f2443ee132dfb761033 (patch)
treea4cc21a6137701c0853d08c8283e2dca38d63787 /app/views/api/v1
parenta910cdd54d3e3fa04b00c4cdf9398e1595dce5a0 (diff)
Downsize originals in media attachments, small fixes
Diffstat (limited to 'app/views/api/v1')
-rw-r--r--app/views/api/v1/statuses/_media.rabl4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/api/v1/statuses/_media.rabl b/app/views/api/v1/statuses/_media.rabl
index af635dfec..5c6be1ce7 100644
--- a/app/views/api/v1/statuses/_media.rabl
+++ b/app/views/api/v1/statuses/_media.rabl
@@ -1,4 +1,4 @@
 attributes :id, :remote_url, :type
 
-node(:url)         { |media| full_asset_url(media.file.url( :original)) }
-node(:preview_url) { |media| full_asset_url(media.file.url( :small)) }
+node(:url)         { |media| full_asset_url(media.file.url(:original)) }
+node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }