discourse/app/serializers/category_topic_serializer.rb

12 lines
190 B
Ruby

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