aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_cable_overview.md
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2016-08-21 10:48:53 +0000
committerVijay Dev <vijaydev.cse@gmail.com>2016-08-21 10:48:53 +0000
commit3e2be0bf144b85fcd3bd0717f56609074d8182ea (patch)
tree7e49c92b118040f63f16e7a5f16da0c2b104cd5b /guides/source/action_cable_overview.md
parentfae7c462855b8ced95697e8a3c0c400b70305200 (diff)
parent18e599940a6070f54c50c4f1e694aaf166cdaf9e (diff)
downloadrails-3e2be0bf144b85fcd3bd0717f56609074d8182ea.tar.gz
rails-3e2be0bf144b85fcd3bd0717f56609074d8182ea.tar.bz2
rails-3e2be0bf144b85fcd3bd0717f56609074d8182ea.zip
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'guides/source/action_cable_overview.md')
-rw-r--r--guides/source/action_cable_overview.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/action_cable_overview.md b/guides/source/action_cable_overview.md
index 118b0b52b2..4b9a22101a 100644
--- a/guides/source/action_cable_overview.md
+++ b/guides/source/action_cable_overview.md
@@ -510,10 +510,10 @@ WebNotificationsChannel.broadcast_to(
The `WebNotificationsChannel.broadcast_to` call places a message in the current
subscription adapter's pubsub queue under a separate broadcasting name for each
user. For a user with an ID of 1, the broadcasting name would be
-"web_notifications_1".
+`web_notifications:1`.
The channel has been instructed to stream everything that arrives at
-"web_notifications_1" directly to the client by invoking the `received`
+`web_notifications:1` directly to the client by invoking the `received`
callback. The data passed as argument is the hash sent as the second parameter
to the server-side broadcast call, JSON encoded for the trip across the wire,
and unpacked for the data argument arriving to `received`.