mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 10:02:33 +08:00
12 lines
190 B
Ruby
12 lines
190 B
Ruby
class CategoryTopicSerializer < BasicTopicSerializer
|
|
|
|
attributes :slug,
|
|
:visible,
|
|
:pinned,
|
|
:closed,
|
|
:archived
|
|
|
|
has_one :category
|
|
|
|
end
|