From 2eddaf90cfbf7dde4b71ce23d6e2d9e310f618fe Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sat, 26 Nov 2016 11:00:04 +1300 Subject: [PATCH] Fixed access modifier indentation --- .rubocop_todo.yml | 8 -------- app/controllers/passwords_controller.rb | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) 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