Autofix Rubocop Rails/FindById (#23762)
This commit is contained in:
parent
35d032500b
commit
434770f580
3 changed files with 2 additions and 9 deletions
|
@ -1645,13 +1645,6 @@ Rails/FilePath:
|
|||
- 'spec/rails_helper.rb'
|
||||
- 'spec/spec_helper.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
Rails/FindById:
|
||||
Exclude:
|
||||
- 'app/controllers/api/v1/notifications_controller.rb'
|
||||
- 'app/controllers/media_controller.rb'
|
||||
|
||||
# Offense count: 6
|
||||
# Configuration parameters: Include.
|
||||
# Include: app/models/**/*.rb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue