discourse/app/serializers/basic_topic_serializer.rb

10 lines
234 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
include ActionView::Helpers
attributes :id, :fancy_title, :slug
2013-02-05 14:16:51 -05:00
2013-02-07 10:45:24 -05:00
end