aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorDavid Kuhta <davidkuhta@gmail.com>2016-02-23 20:35:53 -0600
committerDavid Kuhta <davidkuhta@gmail.com>2016-02-23 20:35:53 -0600
commita946f3930b2d9f4a69e8ce81beb9f3bbed7fd764 (patch)
treeba32ed777098bf3be754b709e0485874635eae0c /guides
parente39d8dd50692901d41baef52de909f67935248b6 (diff)
downloadrails-a946f3930b2d9f4a69e8ce81beb9f3bbed7fd764.tar.gz
rails-a946f3930b2d9f4a69e8ce81beb9f3bbed7fd764.tar.bz2
rails-a946f3930b2d9f4a69e8ce81beb9f3bbed7fd764.zip
Explicitly denote that channel.rb is a default file.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_cable_overview.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/action_cable_overview.md b/guides/source/action_cable_overview.md
index 26e07348f4..b18b3c3046 100644
--- a/guides/source/action_cable_overview.md
+++ b/guides/source/action_cable_overview.md
@@ -85,8 +85,8 @@ or deauthorized).
### Channels
A channel encapsulates a logical unit of work, similar to what a controller does in a
regular MVC setup.
-You should first define a parent `ApplicationCable::Channel` class in Ruby, which
-encapsulates shared logic between your channels.
+By default, Rails creates a parent `ApplicationCable::Channel` class for encapsulating
+shared logic between your channels.
#### Parent Channel Setup
```ruby