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