Skip to content

A platform for community discussion. Free, open, simple.

FIX: Broken images on subfolder installs (#19404)

Blake Erickson552f16fc950b
diff --git a/app/views/finish_installation/index.html.erb b/app/views/finish_installation/index.html.erb
index de7ffeb0095..c1e979e7387 100644
--- a/app/views/finish_installation/index.html.erb
+++ b/app/views/finish_installation/index.html.erb
@@ -13,6 +13,6 @@
</div>
<div class='row finish-installation-image'>
- <%= image_tag "/images/wizard/tada.svg", class: "tada" %>
+ <img src="<%= Discourse.base_path + '/images/wizard/tada.svg' %>" alt="tada emoji" class="tada">
</div>
</div>
diff --git a/app/views/users/perform_account_activation.html.erb b/app/views/users/perform_account_activation.html.erb
index 5992e409031..8cb03aeaa65 100644
--- a/app/views/users/perform_account_activation.html.erb
+++ b/app/views/users/perform_account_activation.html.erb
@@ -9,7 +9,7 @@
<br>
<div class='perform-activation'>
<div class="image">
- <img src="/images/wizard/tada.svg" alt="" class="waving-hand">
+ <img src="<%= Discourse.base_path + '/images/wizard/tada.svg' %>" alt="tada emoji" class="waving-hand">
</div>
<% if @needs_approval %>
<p><%= t 'activation.approval_required' %></p>