discourse/app/serializers/category_topic_serializer.rb

12 lines
190 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
class CategoryTopicSerializer < BasicTopicSerializer
attributes :slug,
2013-02-25 11:42:20 -05:00
:visible,
:pinned,
:closed,
:archived
2013-02-07 10:45:24 -05:00
2013-02-05 14:16:51 -05:00
has_one :category
end