diff options
author | Nicholas La Roux <larouxn@gmail.com> | 2019-04-04 16:21:18 +0900 |
---|---|---|
committer | Nicholas La Roux <larouxn@gmail.com> | 2019-04-05 16:09:23 +0900 |
commit | 5d944d679bb21eec14eefa763958147c46f1d3e7 (patch) | |
tree | d97405d258ccd1c605ef619cc0a3de08296a19e7 | |
parent | d442d97bfa9b0dd8bdab731b29afe404e3b724de (diff) | |
download | rails-5d944d679bb21eec14eefa763958147c46f1d3e7.tar.gz rails-5d944d679bb21eec14eefa763958147c46f1d3e7.tar.bz2 rails-5d944d679bb21eec14eefa763958147c46f1d3e7.zip |
Resurrect generator templates
-rw-r--r-- | railties/lib/rails/generators/js/assets/templates/javascript.js | 2 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/assets/templates/javascript.js | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/js/assets/templates/javascript.js b/railties/lib/rails/generators/js/assets/templates/javascript.js new file mode 100644 index 0000000000..6f10efeb33 --- /dev/null +++ b/railties/lib/rails/generators/js/assets/templates/javascript.js @@ -0,0 +1,2 @@ +// Place all the behaviors and hooks related to the matching controller here. +// All this logic will automatically be available in application.js. diff --git a/railties/lib/rails/generators/rails/assets/templates/javascript.js b/railties/lib/rails/generators/rails/assets/templates/javascript.js new file mode 100644 index 0000000000..6f10efeb33 --- /dev/null +++ b/railties/lib/rails/generators/rails/assets/templates/javascript.js @@ -0,0 +1,2 @@ +// Place all the behaviors and hooks related to the matching controller here. +// All this logic will automatically be available in application.js. |