diff options
author | Alexandra <brett@digitalmoksha.com> | 2017-10-01 17:07:26 +0200 |
---|---|---|
committer | Alexandra <brett@digitalmoksha.com> | 2017-10-01 17:07:26 +0200 |
commit | ed3c25e4294bfc75f7167ed63e30561e39ac3a97 (patch) | |
tree | 1c00af6738e0742e9d2140222ebdea669c8b6c37 /app/controllers/confirmations_controller.rb | |
parent | 39fbac868197442053d058023206f84f63473551 (diff) | |
download | gitlab-ce-ed3c25e4294bfc75f7167ed63e30561e39ac3a97.tar.gz |
spacing and small optimisations
Diffstat (limited to 'app/controllers/confirmations_controller.rb')
-rw-r--r-- | app/controllers/confirmations_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/confirmations_controller.rb b/app/controllers/confirmations_controller.rb index 51c26b9c17e..62ee9470704 100644 --- a/app/controllers/confirmations_controller.rb +++ b/app/controllers/confirmations_controller.rb @@ -10,7 +10,7 @@ class ConfirmationsController < Devise::ConfirmationsController users_almost_there_path end - def after_confirmation_path_for(resource_name, resource) + def after_confirmation_path_for(_resource_name, resource) # incoming resource can either be a :user or an :email if signed_in?(:user) after_sign_in_path_for(resource) |