From a22074749a325ba66245900651bb4cfc44d6c0fa Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 16 Dec 2015 21:05:19 +0100 Subject: Clarify --- actioncable/lib/rails/generators/channel/USAGE | 6 +++--- 1 file 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: ======== -- cgit v1.2.3