about summary refs log tree commit diff
path: root/app/views/api/media/create.rabl
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/api/media/create.rabl')
-rw-r--r--app/views/api/media/create.rabl1
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)) }