discourse/app/serializers/basic_topic_serializer.rb
Sam 381e280228 we should not be mixing this in to our serializers
1. it gives the class broken methods (like cache in production)
2. it conflicts with am serializers
2013-03-19 22:13:37 -07:00

6 lines
202 B
Ruby

require_dependency 'age_words'
# The most basic attributes of a topic that we need to create a link for it.
class BasicTopicSerializer < ApplicationSerializer
attributes :id, :fancy_title, :slug
end