mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
Include category for summary topics
This commit is contained in:
parent
5572d1d5f7
commit
30bb3b4a86
@ -1,7 +1,7 @@
|
||||
class UserSummarySerializer < ApplicationSerializer
|
||||
|
||||
class TopicSerializer < ApplicationSerializer
|
||||
attributes :id, :created_at, :fancy_title, :slug, :like_count
|
||||
class TopicSerializer < ListableTopicSerializer
|
||||
attributes :category_id
|
||||
end
|
||||
|
||||
class ReplySerializer < ApplicationSerializer
|
||||
|
Loading…
Reference in New Issue
Block a user