aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/rails/generators
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2015-12-16 21:05:19 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2015-12-16 21:05:19 +0100
commita22074749a325ba66245900651bb4cfc44d6c0fa (patch)
tree729e766fb34bf4a9e8cdb6e2b949a188a3206641 /actioncable/lib/rails/generators
parent28035db109c35bc0bc40272c621ac3c777a62a72 (diff)
downloadrails-a22074749a325ba66245900651bb4cfc44d6c0fa.tar.gz
rails-a22074749a325ba66245900651bb4cfc44d6c0fa.tar.bz2
rails-a22074749a325ba66245900651bb4cfc44d6c0fa.zip
Clarify
Diffstat (limited to 'actioncable/lib/rails/generators')
-rw-r--r--actioncable/lib/rails/generators/channel/USAGE6
1 files changed, 3 insertions, 3 deletions
diff --git a/actioncable/lib/rails/generators/channel/USAGE b/actioncable/lib/rails/generators/channel/USAGE
index c061196d43..5e43a32384 100644
--- a/actioncable/lib/rails/generators/channel/USAGE
+++ b/actioncable/lib/rails/generators/channel/USAGE
@@ -1,9 +1,9 @@
Description:
============
- Stubs out a new cable channel and its CoffeeScript assets. Passes the chanel name, either
- CamelCased or under_scored, and an optional list of channel actions as arguments.
+ Stubs out a new cable channel for the server (in Ruby) and client (in CoffeeScript).
+ Pass the chanel name, either CamelCased or under_scored, and an optional list of channel actions as arguments.
- This generates a channel class in app/channels.
+ Note: Turn on the cable connection in app/assets/javascript/cable.coffee after generating any channels.
Example:
========