aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-03-04 08:17:16 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-03-04 08:17:16 +0900
commit970cb21b3a0c3c80cd235ffb2089e27dd33aed92 (patch)
tree0f46e2c5c000cfdffd1f2e79bea5ed4ce32ff751 /railties
parent61b126ff6cf938dda5f985106a3f1744cbd3afae (diff)
downloadrails-970cb21b3a0c3c80cd235ffb2089e27dd33aed92.tar.gz
rails-970cb21b3a0c3c80cd235ffb2089e27dd33aed92.tar.bz2
rails-970cb21b3a0c3c80cd235ffb2089e27dd33aed92.zip
Correctly escape ERB tag
Ref: https://travis-ci.org/rails/rails/jobs/501220262#L1194
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt b/railties/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt
index 09d6087fc3..e67e742263 100644
--- a/railties/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt
+++ b/railties/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt
@@ -16,7 +16,7 @@ require("channels")
// Uncomment to copy all static images under ../images to the output folder and reference
-// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)
+// them with the image_pack_tag helper in views (e.g <%%= image_pack_tag 'rails.png' %>)
// or the `imagePath` JavaScript helper below.
//
// const images = require.context('../images', true)