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
This commit is contained in:
Sam 2013-03-19 22:13:37 -07:00
parent f3f751ddd2
commit 381e280228
2 changed files with 0 additions and 4 deletions

View file

@ -2,8 +2,5 @@ require_dependency 'age_words'
# The most basic attributes of a topic that we need to create a link for it.
class BasicTopicSerializer < ApplicationSerializer
include ActionView::Helpers
attributes :id, :fancy_title, :slug
end

View file

@ -1,7 +1,6 @@
require_dependency 'age_words'
class ListableTopicSerializer < BasicTopicSerializer
include ActionView::Helpers
attributes :reply_count,
:posts_count,