diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-04-18 19:20:27 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-04-18 19:20:27 +0530 |
commit | 71657146374595b6b9b04916649922fa4f5f512d (patch) | |
tree | a0c8c51cdfdf19b69ba9e034b58b27b2958bf550 /actioncable/README.md | |
parent | 2ab7c22a7608560d443adc696d6dfb6673a28ca5 (diff) | |
parent | 2ef18c1ebc33585432f46c1b2497268858f4532d (diff) | |
download | rails-71657146374595b6b9b04916649922fa4f5f512d.tar.gz rails-71657146374595b6b9b04916649922fa4f5f512d.tar.bz2 rails-71657146374595b6b9b04916649922fa4f5f512d.zip |
Merge pull request #24600 from tomkadwill/action-cabel-channel-typos
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 de67b507a7..fe4d213485 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 |