Update "direct message" notification email to add unsubscribe link
We modified the link that previously redirected us to the "My content" page to redirect us to the new page for managing subscriptions.
This commit is contained in:
@@ -42,6 +42,7 @@ class Mailer < ApplicationMailer
|
||||
@direct_message = direct_message
|
||||
@receiver = @direct_message.receiver
|
||||
@email_to = @receiver.email
|
||||
manage_subscriptions_token(@receiver)
|
||||
|
||||
with_user(@receiver) do
|
||||
mail(to: @email_to, subject: t("mailers.direct_message_for_receiver.subject"))
|
||||
|
||||
Reference in New Issue
Block a user