diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-15 14:42:03 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-15 14:42:03 -0800 |
commit | 11591573e117b0b8f3fcd6f86c526e2df20a0dbf (patch) | |
tree | 0269b2ca2959a3983e70d91655189d29d13709ec /app/controllers/registrations_controller.rb | |
parent | dbd54fad513f65befd364a25047a64f168ec8e0e (diff) | |
parent | 6c65b91d8c754c61fe8e50966283af5f78c1c9f0 (diff) | |
download | gitlab-ce-11591573e117b0b8f3fcd6f86c526e2df20a0dbf.tar.gz |
Merge pull request #7925 from cirosantilli/unused-arguments
Remove or prepend underscore _ 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 52db44bf822..97aa2d9bdb4 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 |