aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2015-12-03 13:02:06 -0200
committerRafael França <rafaelmfranca@gmail.com>2015-12-03 13:02:06 -0200
commit928aed6e2abc6405c6276530df07b4ac3bc9664b (patch)
tree20d538d54325e7fac32edfb0344b13b60e1bf86d
parent6be2604aa719713c602b8a873337d328196f8f57 (diff)
parent6bd458d97d228be1199e8ff02c5b0f0a2c73eddf (diff)
downloadrails-928aed6e2abc6405c6276530df07b4ac3bc9664b.tar.gz
rails-928aed6e2abc6405c6276530df07b4ac3bc9664b.tar.bz2
rails-928aed6e2abc6405c6276530df07b4ac3bc9664b.zip
Merge pull request #128 from ma2gedev/patch1
fix typo
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4a7c3ca707..102a4b720e 100644
--- a/README.md
+++ b/README.md
@@ -162,7 +162,7 @@ $(document).on 'click', '[data-behavior~=appear_away]', ->
```
Simply calling `App.cable.subscriptions.create` will setup the subscription, which will call `AppearanceChannel#subscribed`,
-which in turn is linked to original `App.consumer` -> `ApplicationCable::Connection` instances.
+which in turn is linked to original `App.cable` -> `ApplicationCable::Connection` instances.
We then link `App.appearance#appear` 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