Update for latest API

This commit is contained in:
David Heinemeier Hansson 2015-07-08 16:10:33 +02:00
parent a9c3fd59ca
commit 152831ad3f
1 changed files with 1 additions and 1 deletions

View File

@ -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