mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 14:43:38 +08:00
9 lines
228 B
Ruby
9 lines
228 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class EditDirectoryColumnSerializer < DirectoryColumnSerializer
|
||
|
attributes :enabled,
|
||
|
:automatic_position
|
||
|
|
||
|
has_one :user_field, serializer: UserFieldSerializer, embed: :objects
|
||
|
end
|