mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 08:34:39 +08:00
16 lines
323 B
Ruby
16 lines
323 B
Ruby
class BasicCategorySerializer < ApplicationSerializer
|
|
|
|
attributes :id,
|
|
:name,
|
|
:color,
|
|
:text_color,
|
|
:slug,
|
|
:topic_count,
|
|
:description,
|
|
:topic_url,
|
|
:hotness,
|
|
:read_restricted,
|
|
:permission
|
|
|
|
end
|