discourse/app/serializers/suggested_topic_serializer.rb

7 lines
145 B
Ruby
Raw Normal View History

class SuggestedTopicSerializer < ListableTopicSerializer
2013-02-05 14:16:51 -05:00
attributes :archetype, :like_count, :views
2013-02-05 14:16:51 -05:00
has_one :category, embed: :objects
end