diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2019-01-13 20:54:53 +0000 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2019-01-13 23:18:21 +0200 |
commit | c50930296be123e060d6a0a1df096f6af2a5d78a (patch) | |
tree | 15802f4d7324ea15f1ab2f03a59a5b41b0ee097a /railties/test/application/initializers | |
parent | 907b52885400bb740afc240c8cdf9de2c8432c19 (diff) | |
download | rails-c50930296be123e060d6a0a1df096f6af2a5d78a.tar.gz rails-c50930296be123e060d6a0a1df096f6af2a5d78a.tar.bz2 rails-c50930296be123e060d6a0a1df096f6af2a5d78a.zip |
Fix "Action Cable Overview" guide [ci skip]
Fix path to channel files.
`rails generate channel Chat` generates `app/javascript/channels/chat_channel.js`.
See also,
railties/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt,
actioncable/lib/rails/generators/channel/templates/javascript/index.js.tt
by default `application.js` imports "channels", where
`app/javascript/channels/index.js` loads all the channels within
this directory and all subdirectories.
Follow up #34709
Related to #33079
Diffstat (limited to 'railties/test/application/initializers')
0 files changed, 0 insertions, 0 deletions