mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
661298176c
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. |
||
---|---|---|
.. | ||
commands.rb | ||
commands_tasks.rb | ||
configuration.rb | ||
railties.rb |