mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: Invalid sub category links in suggested topics
This commit is contained in:
parent
a7bbc93b9a
commit
9ed49888fc
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
||||||
class SuggestedTopicSerializer < ListableTopicSerializer
|
class SuggestedTopicSerializer < ListableTopicSerializer
|
||||||
|
|
||||||
attributes :archetype, :like_count, :views
|
attributes :archetype, :like_count, :views, :category_id
|
||||||
has_one :category, embed: :objects
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue