diff --git a/app/controllers/user_confirmations_controller.rb b/app/controllers/user_confirmations_controller.rb index ffcf315b3e..20046657c5 100644 --- a/app/controllers/user_confirmations_controller.rb +++ b/app/controllers/user_confirmations_controller.rb @@ -30,7 +30,7 @@ class UserConfirmationsController < DeviseController protected - def after_confirmation_path_for(_resource) + def after_confirmation_path_for(resource) result = if resource.errors.empty? 'confirmed'