Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandra <brett@digitalmoksha.com>2017-10-01 18:07:26 +0300
committerAlexandra <brett@digitalmoksha.com>2017-10-01 18:07:26 +0300
commited3c25e4294bfc75f7167ed63e30561e39ac3a97 (patch)
tree1c00af6738e0742e9d2140222ebdea669c8b6c37 /app/controllers/confirmations_controller.rb
parent39fbac868197442053d058023206f84f63473551 (diff)
spacing and small optimisations
Diffstat (limited to 'app/controllers/confirmations_controller.rb')
-rw-r--r--app/controllers/confirmations_controller.rb2
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)