mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
14 lines
327 B
Ruby
14 lines
327 B
Ruby
# frozen_string_literal: true
|
|
|
|
class DirectoryColumnSerializer < ApplicationSerializer
|
|
attributes :id,
|
|
:name,
|
|
:automatic,
|
|
:enabled,
|
|
:automatic_position,
|
|
:position,
|
|
:icon
|
|
|
|
has_one :user_field, serializer: UserFieldSerializer, embed: :objects
|
|
end
|