aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable
diff options
context:
space:
mode:
authorFrancesco Rodríguez <frodsan@me.com>2018-10-19 15:56:27 +0200
committerFrancesco Rodríguez <frodsan@me.com>2018-10-19 15:59:20 +0200
commit0f7655c32565fe263c2401c98573b4cce49ecb4f (patch)
treef9818152ca0a3923af307588a59905fd36233608 /actioncable
parentd1970596664aa72f9e5ae10b2e4f35cc3c4099dd (diff)
downloadrails-0f7655c32565fe263c2401c98573b4cce49ecb4f.tar.gz
rails-0f7655c32565fe263c2401c98573b4cce49ecb4f.tar.bz2
rails-0f7655c32565fe263c2401c98573b4cce49ecb4f.zip
Remove unnecessary escape character
Diffstat (limited to 'actioncable')
-rw-r--r--actioncable/lib/rails/generators/channel/templates/javascript/index.js.tt4
1 files changed, 2 insertions, 2 deletions
diff --git a/actioncable/lib/rails/generators/channel/templates/javascript/index.js.tt b/actioncable/lib/rails/generators/channel/templates/javascript/index.js.tt
index 5da1ce2dce..0cfcf74919 100644
--- a/actioncable/lib/rails/generators/channel/templates/javascript/index.js.tt
+++ b/actioncable/lib/rails/generators/channel/templates/javascript/index.js.tt
@@ -1,5 +1,5 @@
-// Load all the channels within this directory and all subdirectories.
+// Load all the channels within this directory and all subdirectories.
// Channel files must be named *_channel.js.
-const channels = require.context('.', true, /\_channel\.js$/)
+const channels = require.context('.', true, /_channel\.js$/)
channels.keys().forEach(channels)