mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update for latest API
This commit is contained in:
parent
a9c3fd59ca
commit
152831ad3f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue