1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove glob pattern from app/channels load path

This commit is contained in:
Alex Taylor 2021-10-27 11:46:06 -07:00
parent 18922cccd4
commit dd5a49c140

View file

@ -44,7 +44,7 @@ module Rails
exclude: ["assets", javascript_path]
paths.add "app/assets", glob: "*"
paths.add "app/controllers", eager_load: true
paths.add "app/channels", eager_load: true, glob: "**/*_channel.rb"
paths.add "app/channels", eager_load: true
paths.add "app/helpers", eager_load: true
paths.add "app/models", eager_load: true
paths.add "app/mailers", eager_load: true