discourse/app/serializers/basic_topic_serializer.rb

5 lines
184 B
Ruby
Raw Normal View History

# The most basic attributes of a topic that we need to create a link for it.
2013-02-05 14:16:51 -05:00
class BasicTopicSerializer < ApplicationSerializer
attributes :id, :fancy_title, :slug, :posts_count
2013-02-07 10:45:24 -05:00
end