discourse/app/serializers/user_name_serializer.rb

6 lines
109 B
Ruby

# frozen_string_literal: true
class UserNameSerializer < BasicUserSerializer
attributes :name, :title
end