rename topic_list.tags to topic_list.top_tags

This commit is contained in:
Neil Lalonde
2018-01-12 15:26:13 -05:00
parent 9d84b4ffe4
commit ad58a1743b
4 changed files with 11 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ class TopicListSerializer < ApplicationSerializer
:draft_sequence,
:for_period,
:per_page,
:tags
:top_tags
has_many :topics, serializer: TopicListItemSerializer, embed: :objects
@@ -23,7 +23,7 @@ class TopicListSerializer < ApplicationSerializer
object.more_topics_url.present? && (object.topics.size == object.per_page)
end
def include_tags?
def include_top_tags?
Tag.include_tags?
end
end