mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 04:33:45 +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
|