discourse/app/serializers/user_name_serializer.rb

3 lines
78 B
Ruby

class UserNameSerializer < BasicUserSerializer
attributes :name, :title
end