diff options
Diffstat (limited to 'actioncable/lib/rails')
-rw-r--r-- | actioncable/lib/rails/generators/channel/templates/assets/consumer.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actioncable/lib/rails/generators/channel/templates/assets/consumer.coffee b/actioncable/lib/rails/generators/channel/templates/assets/consumer.coffee index 5bb6ab8296..4a608cfe10 100644 --- a/actioncable/lib/rails/generators/channel/templates/assets/consumer.coffee +++ b/actioncable/lib/rails/generators/channel/templates/assets/consumer.coffee @@ -1,6 +1,6 @@ -#= require cable +#= require action_cable #= require_self #= require ./channels @App = {} -App.cable = Cable.createConsumer() +App.cable = ActionCable.createConsumer() |