gitlab-org--gitlab-foss/app/serializers/user_entity.rb

9 lines
150 B
Ruby

class UserEntity < API::Entities::UserBasic
include RequestAwareEntity
unexpose :web_url
expose :path do |user|
user_path(user)
end
end