From 49f1fef67b2fd11023f4842bd4a762391c57c1e2 Mon Sep 17 00:00:00 2001 From: Jeremy Walker Date: Tue, 3 Dec 2024 20:15:29 +0900 Subject: [PATCH] Fix missing link --- app/views/mailers/mailshots_mailer/mailshot.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/mailers/mailshots_mailer/mailshot.html.erb b/app/views/mailers/mailshots_mailer/mailshot.html.erb index 66fc313925..e7f2925586 100644 --- a/app/views/mailers/mailshots_mailer/mailshot.html.erb +++ b/app/views/mailers/mailshots_mailer/mailshot.html.erb @@ -482,6 +482,7 @@ div.preheader { @@ -514,7 +515,7 @@ div.preheader {

Hi <%= @user.handle %>,

- <%= raw @mailshot.content_html %> + <%= raw @mailshot.content_html.gsub("UNSUBSCRIBE_ALL_URL", easy_all_unsubscribe_url(token: @user.communication_preferences&.token)) %>

Jeremy Walker