diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2013-10-16 22:28:39 +0500 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2013-10-16 22:28:39 +0500 |
commit | e09cc195a7400187e7b59f7ff24273962d9912d7 (patch) | |
tree | 0a9f1679dd633abb5f66d200b4d3230cdac84ca6 | |
parent | e9142c6f2cfcdf9a13bce375579085bd5ce00947 (diff) | |
download | gitlab-ce-e09cc195a7400187e7b59f7ff24273962d9912d7.tar.gz |
fix variable name
-rw-r--r-- | lib/api/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 2b0c672c7fa..2cac04d3495 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -16,7 +16,7 @@ module API rescue => ex not_found!("No user id or username for: #{identifier}") end - not_found!("No user id or username for: #{identifier}") if current_user.nil? + not_found!("No user id or username for: #{identifier}") if @current_user.nil? end @current_user end |