diff options
author | Tom Kadwill <tomkadwill@gmail.com> | 2016-04-17 22:03:11 +0100 |
---|---|---|
committer | Tom Kadwill <tomkadwill@gmail.com> | 2016-04-18 08:43:50 +0100 |
commit | 2ef18c1ebc33585432f46c1b2497268858f4532d (patch) | |
tree | 83de416f8e1e25e95d77593c3ebfac3d436f7968 /actioncable/README.md | |
parent | 87c2c070c4cf1b62ac364c53496a2da000fbf9d6 (diff) | |
download | rails-2ef18c1ebc33585432f46c1b2497268858f4532d.tar.gz rails-2ef18c1ebc33585432f46c1b2497268858f4532d.tar.bz2 rails-2ef18c1ebc33585432f46c1b2497268858f4532d.zip |
Fix typos in ActionCable Channel [ci skip]
Diffstat (limited to 'actioncable/README.md')
-rw-r--r-- | actioncable/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/README.md b/actioncable/README.md index 595830feb0..ce5a5229fa 100644 --- a/actioncable/README.md +++ b/actioncable/README.md @@ -178,7 +178,7 @@ App.cable.subscriptions.create "AppearanceChannel", ``` Simply calling `App.cable.subscriptions.create` will setup the subscription, which will call `AppearanceChannel#subscribed`, -which in turn is linked to original `App.cable` -> `ApplicationCable::Connection` instances. +which in turn is linked to the original `App.cable` -> `ApplicationCable::Connection` instances. Next, we link the client-side `appear` method to `AppearanceChannel#appear(data)`. This is possible because the server-side channel instance will automatically expose the public methods declared on the class (minus the callbacks), so that these |