discourse/app/serializers/category_upload_serializer.rb

4 lines
99 B
Ruby

class CategoryUploadSerializer < ApplicationSerializer
attributes :id, :url, :width, :height
end