discourse/app/serializers/basic_topic_serializer.rb

7 lines
202 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
require_dependency 'age_words'
# 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
2013-02-07 10:45:24 -05:00
end