Permalink
Browse files

Merge pull request #27407 from cemonti/master

Fix typo in channel generator usage message
  • Loading branch information...
eileencodes committed Dec 19, 2016
2 parents b61fa5c + 2b39b5b commit f5d1eb669a03ac2ca523461ae9a80f02e1ac56e8
Showing with 2 additions and 2 deletions.
  1. +2 −2 actioncable/lib/rails/generators/channel/USAGE
@@ -3,12 +3,12 @@ Description:
Stubs out a new cable channel for the server (in Ruby) and client (in CoffeeScript).
Pass the channel name, either CamelCased or under_scored, and an optional list of channel actions as arguments.
- Note: Turn on the cable connection in app/assets/javascript/cable.js after generating any channels.
+ Note: Turn on the cable connection in app/assets/javascripts/cable.js after generating any channels.
Example:
========
rails generate channel Chat speak
creates a Chat channel class and CoffeeScript asset:
Channel: app/channels/chat_channel.rb
- Assets: app/assets/javascript/channels/chat.coffee
+ Assets: app/assets/javascripts/channels/chat.coffee

0 comments on commit f5d1eb6

Please sign in to comment.