mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
10a6824e5f
This reverts commit 84de643c04bf83740ccf9f085e0ff441d9482651. 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
|