discourse/app/serializers/upload_serializer.rb
Régis Hanol 3397c2235f display the size of the attachment in the preview
instead of adding it during post processing
2013-07-14 12:28:24 +02:00

6 lines
119 B
Ruby

class UploadSerializer < ApplicationSerializer
attributes :url, :original_filename, :filesize, :width, :height
end