Skip to content

Commit 4e4b1e6

Browse files
committed
Add missing Include paths for Rails/MultipleRoutePaths
Follow up #1407.
1 parent b1fbd49 commit 4e4b1e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/default.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,9 @@ Rails/MultipleRoutePaths:
703703
Enabled: pending
704704
Severity: warning
705705
VersionAdded: '<<next>>'
706+
Include:
707+
- config/routes.rb
708+
- config/routes/**/*.rb
706709

707710
Rails/NegateInclude:
708711
Description: 'Prefer `collection.exclude?(obj)` over `!collection.include?(obj)`.'

0 commit comments

Comments
 (0)