[ci skip] Fix documentation wrong for ActionCable

This commit is contained in:
Eric Zhang 2016-08-12 00:29:20 +08:00
parent dfd7c2f058
commit 3f9d380963

@ -313,7 +313,7 @@ App.cable.subscriptions.create { channel: "ChatChannel", room: "Best Room" },
```ruby
# Somewhere in your app this is called, perhaps
# from a NewCommentJob.
ChatChannel.broadcast_to(
ActionCable.server.broadcast(
"chat_#{room}",
sent_by: 'Paul',
body: 'This is a cool chat app.'