mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 19:54:22 +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
|