discourse/app/serializers/user_field_serializer.rb

10 lines
223 B
Ruby

class UserFieldSerializer < ApplicationSerializer
attributes :id,
:name,
:description,
:field_type,
:editable,
:required,
:show_on_profile
end