summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Neel <brian@gitlab.com>2017-02-13 23:01:50 -0500
committerBrian Neel <brian@gitlab.com>2017-02-13 23:01:50 -0500
commit5bab8ff4a78d42b4c844e1861984b02ab7dafef2 (patch)
treef16f558c3319d7d8d8a4f0ee644d1721138c233f
parent68a69ca925ecb4df4aa050c5127f0abd555193bf (diff)
downloadgitlab-ce-enhance-logging.tar.gz
remove underscoreenhance-logging
-rw-r--r--app/controllers/registrations_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb
index e8ae59ba473..0065ce46071 100644
--- a/app/controllers/registrations_controller.rb
+++ b/app/controllers/registrations_controller.rb
@@ -45,8 +45,8 @@ class RegistrationsController < Devise::RegistrationsController
user.confirmed? ? dashboard_projects_path : users_almost_there_path
end
- def after_inactive_sign_up_path_for(_resource)
- Gitlab::AppLogger.info("Authentication: NewUserWithConfirmation username:#{_resource.username} email:#{_resource.email} ip:#{request.remote_ip}")
+ def after_inactive_sign_up_path_for(resource)
+ Gitlab::AppLogger.info("Authentication: NewUserWithConfirmation username:#{resource.username} email:#{resource.email} ip:#{request.remote_ip}")
users_almost_there_path
end