diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2016-07-15 04:21:03 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-08-20 17:07:50 +0100 |
commit | b8a0c57e04ec1625a002ae7ffba24cfb0bf12d01 (patch) | |
tree | c17d77981f3508b44fdb99ffb6721a492591d311 | |
parent | 3ac1989c735c1c4c7a0ae9df9b903caaa18b6db3 (diff) | |
download | gitlab-ce-b8a0c57e04ec1625a002ae7ffba24cfb0bf12d01.tar.gz |
Review changes
-rw-r--r-- | app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index cfee71e9785..7ce4a75ffc1 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -86,7 +86,7 @@ class UsersController < ApplicationController end def exists - render json: user.id + render json: { exists: !user.nil? } end private |