diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-30 22:28:05 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-12-27 22:38:25 +0100 |
commit | 6c65b91d8c754c61fe8e50966283af5f78c1c9f0 (patch) | |
tree | 7d583ec0ea88f75e96748fa25d741b4b4c39c4d2 /app/controllers/registrations_controller.rb | |
parent | c8bb171664de94778d4e6eba7773596b265f9efb (diff) | |
download | gitlab-ce-6c65b91d8c754c61fe8e50966283af5f78c1c9f0.tar.gz |
Remove or prepend _ to unused method arguments
Diffstat (limited to 'app/controllers/registrations_controller.rb')
-rw-r--r-- | app/controllers/registrations_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index 6d3214b70a8..9321536e6df 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -15,11 +15,11 @@ class RegistrationsController < Devise::RegistrationsController super end - def after_sign_up_path_for(resource) + def after_sign_up_path_for(_resource) new_user_session_path end - def after_inactive_sign_up_path_for(resource) + def after_inactive_sign_up_path_for(_resource) new_user_session_path end |