discourse/app/serializers/user_name_serializer.rb

4 lines
78 B
Ruby

class UserNameSerializer < BasicUserSerializer
attributes :name, :title
end