diff options
author | Matthew Draper <matthew@trebex.net> | 2016-06-02 04:08:48 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-06-02 04:08:48 +0930 |
commit | a8df1bc345bf062e98bda64ef9638f65292c4b56 (patch) | |
tree | 84ee84e5f1bbfafa07b4598d6fa5f122b91e6fd4 /railties | |
parent | 7b75ca100de247a40c78da89e28f4d71e0635b95 (diff) | |
download | rails-a8df1bc345bf062e98bda64ef9638f65292c4b56.tar.gz rails-a8df1bc345bf062e98bda64ef9638f65292c4b56.tar.bz2 rails-a8df1bc345bf062e98bda64ef9638f65292c4b56.zip |
Properly support reloading for Action Cable channels
Diffstat (limited to 'railties')
2 files changed, 0 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/app/channels/application_cable/channel.rb b/railties/lib/rails/generators/rails/app/templates/app/channels/application_cable/channel.rb index d56fa30f4d..d672697283 100644 --- a/railties/lib/rails/generators/rails/app/templates/app/channels/application_cable/channel.rb +++ b/railties/lib/rails/generators/rails/app/templates/app/channels/application_cable/channel.rb @@ -1,4 +1,3 @@ -# Be sure to restart your server when you modify this file. Action Cable runs in a loop that does not support auto reloading. module ApplicationCable class Channel < ActionCable::Channel::Base end diff --git a/railties/lib/rails/generators/rails/app/templates/app/channels/application_cable/connection.rb b/railties/lib/rails/generators/rails/app/templates/app/channels/application_cable/connection.rb index b4f41389ad..0ff5442f47 100644 --- a/railties/lib/rails/generators/rails/app/templates/app/channels/application_cable/connection.rb +++ b/railties/lib/rails/generators/rails/app/templates/app/channels/application_cable/connection.rb @@ -1,4 +1,3 @@ -# Be sure to restart your server when you modify this file. Action Cable runs in a loop that does not support auto reloading. module ApplicationCable class Connection < ActionCable::Connection::Base end |