diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 610410996..12fea5928 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -303,14 +303,6 @@ Rails/Validation: - 'app/models/member.rb' - 'app/models/order_item.rb' -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. -# SupportedStyles: outdent, indent -Style/AccessModifierIndentation: - Exclude: - - 'app/controllers/passwords_controller.rb' - # Offense count: 2 # Cop supports --auto-correct. Style/AlignArray: diff --git a/app/controllers/passwords_controller.rb b/app/controllers/passwords_controller.rb index 1ec2486cc..6403db56f 100644 --- a/app/controllers/passwords_controller.rb +++ b/app/controllers/passwords_controller.rb @@ -1,6 +1,6 @@ class PasswordsController < Devise::PasswordsController -protected + protected def after_resetting_password_path_for(resource) root_path end