discourse/app/serializers/search_topic_list_item_serializer.rb

16 lines
234 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class SearchTopicListItemSerializer < ListableTopicSerializer
2018-02-13 14:46:25 -06:00
include TopicTagsMixin
2018-02-13 14:46:25 -06:00
attributes :category_id
def include_image_url?
false
end
def include_thumbnails?
false
end
end