FIX: consistent and future-proof upload storage pattern

This commit is contained in:
Régis Hanol
2015-05-19 12:31:12 +02:00
parent 666b5b40a5
commit 9ded21e4c6
10 changed files with 28 additions and 67 deletions

View File

@@ -1,5 +1,5 @@
class UploadSerializer < ApplicationSerializer
attributes :url, :original_filename, :filesize, :width, :height
attributes :id, :url, :original_filename, :filesize, :width, :height
end