2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00
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

5 lines
119 B
Ruby

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