aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/bin
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-02-05 22:48:48 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-02-14 17:46:48 +0100
commit661298176c72eefc6d0f42b58210119e76962364 (patch)
tree521b31e85b607dff781a3ad40ae43bdf52022f8b /actionview/bin
parentf611e59cb16677156c231aa6328f7e7d47da2a28 (diff)
downloadrails-661298176c72eefc6d0f42b58210119e76962364.tar.gz
rails-661298176c72eefc6d0f42b58210119e76962364.tar.bz2
rails-661298176c72eefc6d0f42b58210119e76962364.zip
Inject Rails' channel paths in engine.
We were explicitly referencing Rails.root in ActionCable::Server::Configuration.initialize, thereby coupling ourselves to Rails. Instead add `app/channels` to Rails' app paths and assign the existent files to `channel_paths`. Users can still append to those load paths with `<<` and `push` in `config/application.rb`. This means we can remove the custom `Dir` lookup in `channel_paths` and the Rails and root definitions in the tests.
Diffstat (limited to 'actionview/bin')
0 files changed, 0 insertions, 0 deletions