diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-05 17:13:05 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-05 17:13:44 +0100 |
commit | 64d109dc0e39574d4ed45f2443ee132dfb761033 (patch) | |
tree | a4cc21a6137701c0853d08c8283e2dca38d63787 /app/views/api/v1/statuses | |
parent | a910cdd54d3e3fa04b00c4cdf9398e1595dce5a0 (diff) |
Downsize originals in media attachments, small fixes
Diffstat (limited to 'app/views/api/v1/statuses')
-rw-r--r-- | app/views/api/v1/statuses/_media.rabl | 4 |
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)) } |