Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Denisov <1101.debian@gmail.com>2013-03-19 00:11:28 +0400
committerAlex Denisov <1101.debian@gmail.com>2013-03-19 00:11:28 +0400
commit28e7d1a8bf3ef172331125cf56d92af85ea5e8b2 (patch)
tree0e7ce7a2d32aedb66af00fe07143a61a2e14e5f1 /lib/api/users.rb
parent6956f1f6e1844c683336eea03d090ed3f306a3f7 (diff)
Abilities added to /user and /sign_in requests
Diffstat (limited to 'lib/api/users.rb')
-rw-r--r--lib/api/users.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb
index e9cf16fa37d..567750dfa45 100644
--- a/lib/api/users.rb
+++ b/lib/api/users.rb
@@ -124,7 +124,7 @@ module Gitlab
# Example Request:
# GET /user
get do
- present @current_user, with: Entities::User
+ present @current_user, with: Entities::UserLogin
end
# Get currently authenticated user's keys