aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_cable_overview.md
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-05-28 16:40:10 -0400
committerJon Moss <me@jonathanmoss.me>2016-05-28 16:40:10 -0400
commit350b7b616233688b890c7374c613b9aa39b76897 (patch)
treee3a221b3590c45baac403d3afb7e1db05a2232a0 /guides/source/action_cable_overview.md
parent3b1b957b6f1482ce260c8f4ecaad6e5b2bbd8316 (diff)
downloadrails-350b7b616233688b890c7374c613b9aa39b76897.tar.gz
rails-350b7b616233688b890c7374c613b9aa39b76897.tar.bz2
rails-350b7b616233688b890c7374c613b9aa39b76897.zip
Light edits to Action Cable Overview guide
[ci skip]
Diffstat (limited to 'guides/source/action_cable_overview.md')
-rw-r--r--guides/source/action_cable_overview.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/action_cable_overview.md b/guides/source/action_cable_overview.md
index 5cc280072e..cbd49dc8a5 100644
--- a/guides/source/action_cable_overview.md
+++ b/guides/source/action_cable_overview.md
@@ -84,7 +84,7 @@ The cookie is then automatically sent to the connection instance when a new conn
is attempted, and you use that to set the `current_user`. By identifying the connection
by this same current_user, you're also ensuring that you can later retrieve all open
connections by a given user (and potentially disconnect them all if the user is deleted
-or deauthorized).
+or unauthorized).
### Channels
@@ -138,7 +138,7 @@ end
### Connections
Consumers require an instance of the connection on their side. This can be
-established using the following Javascript, which is generated by default in Rails:
+established using the following JavaScript, which is generated by default in Rails:
#### Connect Consumer
@@ -155,7 +155,7 @@ established using the following Javascript, which is generated by default in Rai
}).call(this);
```
-This will ready a consumer that'll connect against /cable on your server by default.
+This will ready a consumer that'll connect against `/cable` on your server by default.
The connection won't be established until you've also specified at least one subscription
you're interested in having.