This repository has been archived on 2023-03-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
osr-discourse-src/app/serializers/upload_serializer.rb
T
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