mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
10a6824e5f
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
|