discourse/app/serializers/category_topic_serializer.rb

11 lines
168 B
Ruby

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