diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/api/media/create.rabl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/api/media/create.rabl b/app/views/api/media/create.rabl index 23909066d..0239aa585 100644 --- a/app/views/api/media/create.rabl +++ b/app/views/api/media/create.rabl @@ -1,3 +1,4 @@ object @media attribute :id node(:url) { |media| full_asset_url(media.file.url) } +node(:preview_url) { |media| full_asset_url(media.file.url(:small)) } |