discourse/app/models/user_field_serializer.rb

9 lines
192 B
Ruby

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