1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/engine
Kasper Timm Hansen 661298176c 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.
2016-02-14 17:46:48 +01:00
..
commands.rb make rake proxy work in rails engines 2016-01-31 09:49:48 +09:00
commands_tasks.rb make rake proxy work in rails engines 2016-01-31 09:49:48 +09:00
configuration.rb Inject Rails' channel paths in engine. 2016-02-14 17:46:48 +01:00
railties.rb