Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clarify
  • Loading branch information
dhh committed Dec 16, 2015
1 parent 28035db commit a220747
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 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:
========
Expand Down

0 comments on commit a220747

Please sign in to comment.