diff options
Diffstat (limited to 'actioncable/lib/rails/generators/channel')
-rw-r--r-- | actioncable/lib/rails/generators/channel/templates/channel.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/rails/generators/channel/templates/channel.rb b/actioncable/lib/rails/generators/channel/templates/channel.rb index 5ca80dcd9d..4bcfb2be4d 100644 --- a/actioncable/lib/rails/generators/channel/templates/channel.rb +++ b/actioncable/lib/rails/generators/channel/templates/channel.rb @@ -1,5 +1,5 @@ <% module_namespacing do -%> -class <%= class_name %>Channel < ApplicationChannel +class <%= class_name %>Channel < ApplicationCable::Channel def subscribed # stream_from "some_channel" end |