mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +08:00
FIX: Invalid sub category links in suggested topics
This commit is contained in:
parent
a7bbc93b9a
commit
9ed49888fc
|
@ -1,6 +1,5 @@
|
|||
class SuggestedTopicSerializer < ListableTopicSerializer
|
||||
|
||||
attributes :archetype, :like_count, :views
|
||||
has_one :category, embed: :objects
|
||||
attributes :archetype, :like_count, :views, :category_id
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user