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,7 +1,12 @@
|
||||
class CategoryList
|
||||
include ActiveModel::Serialization
|
||||
|
||||
attr_accessor :categories, :topic_users, :uncategorized
|
||||
attr_accessor :categories,
|
||||
:topic_users,
|
||||
:uncategorized,
|
||||
:draft,
|
||||
:draft_key,
|
||||
:draft_sequence
|
||||
|
||||
def initialize(guardian=nil)
|
||||
@guardian = guardian || Guardian.new
|
||||
|
||||
Reference in New Issue
Block a user