Fixed access modifier indentation

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

No files matched your search

-8
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:
+1 -1
View File
@@ -1,6 +1,6 @@
class PasswordsController < Devise::PasswordsController
protected
protected
def after_resetting_password_path_for(resource)
root_path
end