discourse/app/serializers/edit_directory_column_seria...

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