diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-11-13 15:23:28 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-11-13 15:23:28 -0500 |
commit | 8dd76a7a6ff1bb7105beabb8f834ca54ab1e5fc2 (patch) | |
tree | 9830dad2b5514f9c1600036a81433266ddec3250 /actioncable/lib/rails/generators/channel/templates/assets/cable.js | |
parent | 705cf47033afabf4530a209f907ff4bf35acf2c2 (diff) | |
download | rails-8dd76a7a6ff1bb7105beabb8f834ca54ab1e5fc2.tar.gz rails-8dd76a7a6ff1bb7105beabb8f834ca54ab1e5fc2.tar.bz2 rails-8dd76a7a6ff1bb7105beabb8f834ca54ab1e5fc2.zip |
Use .tt extension to all the template files
Make clear that the files are not to be run for interpreters.
Fixes #23847.
Fixes #30690.
Closes #23878.
Diffstat (limited to 'actioncable/lib/rails/generators/channel/templates/assets/cable.js')
-rw-r--r-- | actioncable/lib/rails/generators/channel/templates/assets/cable.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/actioncable/lib/rails/generators/channel/templates/assets/cable.js b/actioncable/lib/rails/generators/channel/templates/assets/cable.js deleted file mode 100644 index 739aa5f022..0000000000 --- a/actioncable/lib/rails/generators/channel/templates/assets/cable.js +++ /dev/null @@ -1,13 +0,0 @@ -// Action Cable provides the framework to deal with WebSockets in Rails. -// You can generate new channels where WebSocket features live using the `rails generate channel` command. -// -//= require action_cable -//= require_self -//= require_tree ./channels - -(function() { - this.App || (this.App = {}); - - App.cable = ActionCable.createConsumer(); - -}).call(this); |