diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2015-12-16 17:35:07 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2015-12-16 18:17:12 +0100 |
commit | aae14ab3ace13ef87431fcb8dd7efb3e5d5dfe44 (patch) | |
tree | 5dda0c7f55b90ed40c8e7a7b864350c17ca67424 /actioncable | |
parent | 3354b2d0fa61fdc6b23a4526901b85edab4a760c (diff) | |
download | rails-aae14ab3ace13ef87431fcb8dd7efb3e5d5dfe44.tar.gz rails-aae14ab3ace13ef87431fcb8dd7efb3e5d5dfe44.tar.bz2 rails-aae14ab3ace13ef87431fcb8dd7efb3e5d5dfe44.zip |
Fix parent class
Diffstat (limited to 'actioncable')
-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 |