discourse/app/serializers/edit_directory_column_seria...

8 lines
215 B
Ruby

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