discourse/app/models/user_field_serializer.rb

4 lines
91 B
Ruby

class UserFieldSerializer < ApplicationSerializer
attributes :id, :name, :field_type
end