1
0
Fork 0
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:
Dino Maric 2019-10-28 16:09:22 +01:00 committed by George Claghorn
parent b53b188c5e
commit 966d3a7bf2

View file

@ -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")