From 09e70afe54059249f8def9415d9df77bfb029988 Mon Sep 17 00:00:00 2001 From: Eoin Kelly Date: Sun, 16 Jul 2023 10:39:37 +1200 Subject: [PATCH] Make image page compatible with shakapacker v7 --- variants/frontend-base/template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variants/frontend-base/template.rb b/variants/frontend-base/template.rb index eac82a7e..37f6774c 100644 --- a/variants/frontend-base/template.rb +++ b/variants/frontend-base/template.rb @@ -71,7 +71,7 @@ # An example of how to load an image via Webpacker. This image is in # app/frontend/images/example.png %> - <%= image_pack_tag "example.png", alt: "Example Image" %> + <%= image_pack_tag "images/example.png", alt: "Example Image" %> EO_IMG_EXAMPLE gsub_file "app/views/layouts/application.html.erb", "", body_open_tag_with_img_example, force: true