From 552f16fc950bb9637c182033e81c31a2768ec925 Mon Sep 17 00:00:00 2001 From: Blake Erickson Date: Fri, 9 Dec 2022 11:24:12 -0700 Subject: [PATCH] FIX: Broken images on subfolder installs (#19404) Use the `Discourse.base_path` when linking to hard coded images used in the UI so that the correct subfolder path is used if present. Follow up: 5c67b073aea2766a6cbbc88b1fbcc2c2c1928e14 --- app/views/finish_installation/index.html.erb | 2 +- app/views/users/perform_account_activation.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@
- <%= image_tag "/images/wizard/tada.svg", class: "tada" %> + tada emoji
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 @@
- + tada emoji
<% if @needs_approval %>

<%= t 'activation.approval_required' %>