From 2fb3e192b88f6efddb62ce6c034d9ee0d9452632 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 27 Aug 2025 10:55:12 -0500 Subject: [PATCH] Need to url for collection/card/comment @jorgemanrubia for some reason `url_for` is not including the host in here. It seems to be correctly set in the environment configs --- .../mailers/notification/bundle_mailer/event/_body.text.erb | 2 +- .../mailers/notification/bundle_mailer/mention/_body.text.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/mailers/notification/bundle_mailer/event/_body.text.erb b/app/views/mailers/notification/bundle_mailer/event/_body.text.erb index 770e9edaa..292c2ad7c 100644 --- a/app/views/mailers/notification/bundle_mailer/event/_body.text.erb +++ b/app/views/mailers/notification/bundle_mailer/event/_body.text.erb @@ -4,4 +4,4 @@ <%= event_notification_body(event).squish %> -<%= notification_url(notification.source) %> +<%= url_for(notification.source) %> diff --git a/app/views/mailers/notification/bundle_mailer/mention/_body.text.erb b/app/views/mailers/notification/bundle_mailer/mention/_body.text.erb index 4056ae1b4..7ba307f01 100644 --- a/app/views/mailers/notification/bundle_mailer/mention/_body.text.erb +++ b/app/views/mailers/notification/bundle_mailer/mention/_body.text.erb @@ -4,4 +4,4 @@ <%= mention.source.mentionable_content.truncate(250) %> -<%= notification_url(mention) %> +<%= url_for(mention) %>