discourse/app/serializers/edit_directory_column_serializer.rb

9 lines
228 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class EditDirectoryColumnSerializer < DirectoryColumnSerializer
attributes :enabled,
:automatic_position
has_one :user_field, serializer: UserFieldSerializer, embed: :objects
end