mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix typo in ACa documentation [ci skip]
This commit is contained in:
parent
b53b188c5e
commit
966d3a7bf2
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
|||
import Subscription from "./subscription"
|
||||
|
||||
// Collection class for creating (and internally managing) channel subscriptions. The only method intended to be triggered by the user
|
||||
// us ActionCable.Subscriptions#create, and it should be called through the consumer like so:
|
||||
// Collection class for creating (and internally managing) channel subscriptions.
|
||||
// The only method intended to be triggered by the user is ActionCable.Subscriptions#create,
|
||||
// and it should be called through the consumer like so:
|
||||
//
|
||||
// App = {}
|
||||
// App.cable = ActionCable.createConsumer("ws://example.com/accounts/1")
|
||||
|
|
Loading…
Reference in a new issue