aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorEric Zhang <i@qinix.com>2016-08-12 00:23:14 +0800
committerEric Zhang <i@qinix.com>2016-08-12 00:27:39 +0800
commitdfd7c2f05828d567d9803ca8aed51eac71092160 (patch)
tree2b0741781ce04524ba82a7c6085112c7a2373a38 /guides/source
parentb9f71e49ae43c53258da95bda50325a8d0c99a52 (diff)
downloadrails-dfd7c2f05828d567d9803ca8aed51eac71092160.tar.gz
rails-dfd7c2f05828d567d9803ca8aed51eac71092160.tar.bz2
rails-dfd7c2f05828d567d9803ca8aed51eac71092160.zip
[ci skip] Fix documentation for ActionCable::Channel#broadcast_to
Diffstat (limited to 'guides/source')
-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 02db86888c..3501822bed 100644
--- a/guides/source/action_cable_overview.md
+++ b/guides/source/action_cable_overview.md
@@ -242,10 +242,10 @@ WebNotificationsChannel.broadcast_to(
The `WebNotificationsChannel.broadcast_to` call places a message in the current
subscription adapter (Redis by default)'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`.
+name would be `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.
### Subscriptions