diff options
Diffstat (limited to 'actioncable')
-rw-r--r-- | actioncable/lib/rails/generators/channel/USAGE | 6 |
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: ======== |