discourse/app/serializers/category_topic_serializer.rb

11 lines
193 B
Ruby

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