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