discourse/app/serializers/suggested_topic_serializer.rb

7 lines
145 B
Ruby
Raw Normal View History

class SuggestedTopicSerializer < ListableTopicSerializer
2013-02-06 03:16:51 +08:00
attributes :archetype, :like_count, :views
2013-02-06 03:16:51 +08:00
has_one :category, embed: :objects
end