discourse/app/serializers/category_upload_serializer.rb

4 lines
82 B
Ruby

class CategoryUploadSerializer < ApplicationSerializer
attributes :id, :url
end