mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This reverts commit 84de643c04.
Users are using the search endpoint as public API even though it is
meant to be internal. Revert for now while we figure out the path
forward on providing a more stable API to end users.
16 lines
234 B
Ruby
16 lines
234 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SearchTopicListItemSerializer < ListableTopicSerializer
|
|
include TopicTagsMixin
|
|
|
|
attributes :category_id
|
|
|
|
def include_image_url?
|
|
false
|
|
end
|
|
|
|
def include_thumbnails?
|
|
false
|
|
end
|
|
end
|