aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/action_cable/server/broadcasting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_cable/server/broadcasting.rb b/lib/action_cable/server/broadcasting.rb
index c082e87e56..de13e26511 100644
--- a/lib/action_cable/server/broadcasting.rb
+++ b/lib/action_cable/server/broadcasting.rb
@@ -14,7 +14,7 @@ module ActionCable
# "web_notifications_1", { title: 'New things!', body: 'All shit fit for print' }
#
# # Client-side coffescript which assumes you've already requested the right to send web notifications
- # BC.cable.createSubscription "WebNotificationsChannel",
+ # App.cable.subscriptions.create "WebNotificationsChannel",
# received: (data) ->
# web_notification = new Notification data['title'], body: data['body']
module Broadcasting