about summary refs log tree commit diff
path: root/app/views/api/media/create.rabl
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-27 16:58:23 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-27 16:59:08 +0200
commit4f9b7432dd4d323ac6cc4efceeae2efaffe62e7d (patch)
treeacae9e59bd6971885f7cb7b7ed45c4c9d1af4fca /app/views/api/media/create.rabl
parent3f75f522856954690d92358107e78bafd0db0baa (diff)
Fix #52 - Add API versioning (v1)
Diffstat (limited to 'app/views/api/media/create.rabl')
-rw-r--r--app/views/api/media/create.rabl5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/views/api/media/create.rabl b/app/views/api/media/create.rabl
deleted file mode 100644
index 803a93094..000000000
--- a/app/views/api/media/create.rabl
+++ /dev/null
@@ -1,5 +0,0 @@
-object @media
-attribute :id, :type
-node(:url) { |media| full_asset_url(media.file.url) }
-node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }
-node(:text_url) { |media| medium_url(media) }