Skip to content

Commit 79740b0

Browse files
committed
Add workaround for wasm build
WASM build unable to find image in asset pipeline
1 parent b1ebd2b commit 79740b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/components/pages/summary.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ def image(**)
5959
figure(class: "page-summary--image") do
6060
image_tag @image
6161
end
62+
rescue
63+
ActionView::Template::Error
6264
end
6365
end
6466
end

0 commit comments

Comments
 (0)