discourse/app/serializers/edit_directory_column_serializer.rb
2023-01-09 14:14:59 +00:00

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