mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 12:23:46 +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
|