Skip to content

Commit dfd7c2f

Browse files
committed
[ci skip] Fix documentation for ActionCable::Channel#broadcast_to
1 parent b9f71e4 commit dfd7c2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/action_cable_overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ WebNotificationsChannel.broadcast_to(
242242
The `WebNotificationsChannel.broadcast_to` call places a message in the current
243243
subscription adapter (Redis by default)'s pubsub queue under a separate
244244
broadcasting name for each user. For a user with an ID of 1, the broadcasting
245-
name would be `web_notifications_1`.
245+
name would be `web_notifications:1`.
246246

247247
The channel has been instructed to stream everything that arrives at
248-
`web_notifications_1` directly to the client by invoking the `received`
248+
`web_notifications:1` directly to the client by invoking the `received`
249249
callback.
250250

251251
### Subscriptions

0 commit comments

Comments
 (0)