Fixed access modifier indentation

This commit is contained in:
Brenda Wallace
2016-11-26 11:00:04 +13:00
parent 91d2998507
commit 2eddaf90cf
2 changed files with 1 additions and 9 deletions

View File

@@ -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:

View File

@@ -1,6 +1,6 @@
class PasswordsController < Devise::PasswordsController
protected
protected
def after_resetting_password_path_for(resource)
root_path
end