mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 15:49:55 +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
|