mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Properly assign draft keys to Categories List view.
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
class CategoryListSerializer < ApplicationSerializer
|
||||
|
||||
attributes :can_create_category, :can_create_topic
|
||||
attributes :can_create_category,
|
||||
:can_create_topic,
|
||||
:draft,
|
||||
:draft_key,
|
||||
:draft_sequence
|
||||
|
||||
has_many :categories, serializer: CategoryDetailedSerializer, embed: :objects
|
||||
|
||||
|
||||
Reference in New Issue
Block a user