summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-01-06 13:06:25 +0100
committerDouwe Maan <douwe@gitlab.com>2016-01-06 13:06:25 +0100
commit639d428046938b5976f87726746d862441ee7036 (patch)
treed5db554d7efec312ccc6b7994f7dfb5d9ed23bf4 /lib/api
parent384445eca6249363c0da6d8b96e7ee030dc6fab3 (diff)
parent95b1adb3394851132ea7ecb3104e9a857bdad82f (diff)
downloadgitlab-ce-639d428046938b5976f87726746d862441ee7036.tar.gz
Merge branch 'master' into more-opengraphmore-opengraph
Diffstat (limited to 'lib/api')
-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 3400f0713ef..0d7813428e2 100644
--- a/lib/api/users.rb
+++ b/lib/api/users.rb
@@ -39,7 +39,7 @@ module API
if current_user.is_admin?
present @user, with: Entities::UserFull
else
- present @user, with: Entities::UserBasic
+ present @user, with: Entities::User
end
end