summaryrefslogtreecommitdiff
path: root/lib/api/users.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-18 23:20:11 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-18 23:20:11 -0700
commit306ea84e85fe4821dd124163eef8ca5a7f041cbb (patch)
tree1c182c116bf6dacefb0ad1af46c2665a158429a6 /lib/api/users.rb
parent924643198c924c19d0b468b27ee92077cefe7424 (diff)
parenta15fe61fb041ae7c2704bde6d73c246b85d618f7 (diff)
downloadgitlab-ce-306ea84e85fe4821dd124163eef8ca5a7f041cbb.tar.gz
Merge pull request #3251 from AlexDenisov/api_additional_user_fields
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