discourse/app/serializers/category_topic_serializer.rb

7 lines
124 B
Ruby

class CategoryTopicSerializer < ListableTopicSerializer
attributes :visible, :closed, :archived
has_one :category
end