class SearchTopicListItemSerializer < ListableTopicSerializer
attributes :tags,
:category_id
def include_tags?
SiteSetting.tagging_enabled
end
def tags
object.tags.map(&:name)