aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-02-14 18:08:46 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-02-14 18:08:46 +0100
commit3c96a6eaa42873147d4be4c753981b7e99a2ba4f (patch)
tree5831bddc71ea351d2a5f946218b5977634f958ff /railties
parent6f8f2a2017e09d8d94c70761c70007ce72b984e7 (diff)
parent3ae8eb13cb4967f533339ecddf93e19f06caa6d2 (diff)
downloadrails-3c96a6eaa42873147d4be4c753981b7e99a2ba4f.tar.gz
rails-3c96a6eaa42873147d4be4c753981b7e99a2ba4f.tar.bz2
rails-3c96a6eaa42873147d4be4c753981b7e99a2ba4f.zip
Merge pull request #23505 from kaspth/inject-rails-config-through-railtie
Inject Rails related configuration through Railtie
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/engine/configuration.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/engine/configuration.rb b/railties/lib/rails/engine/configuration.rb
index 8cadbc3ddd..294d07446f 100644
--- a/railties/lib/rails/engine/configuration.rb
+++ b/railties/lib/rails/engine/configuration.rb
@@ -39,6 +39,7 @@ module Rails
paths.add "app", eager_load: true, glob: "{*,*/concerns}"
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/helpers", eager_load: true
paths.add "app/models", eager_load: true
paths.add "app/mailers", eager_load: true