0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-04-30 14:40:03 +00:00

Merge pull request from KiDxS/fix-notification-preferences-url-in-email

Fixed notification preferences URL in email
This commit is contained in:
Dan Brown 2024-05-16 14:11:15 +01:00 committed by GitHub
commit c14d7d9509
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ abstract class BaseActivityNotification extends MailNotification
protected function buildReasonFooterLine(LocaleDefinition $locale): LinkedMailMessageLine protected function buildReasonFooterLine(LocaleDefinition $locale): LinkedMailMessageLine
{ {
return new LinkedMailMessageLine( return new LinkedMailMessageLine(
url('/preferences/notifications'), url('/my-account/notifications'),
$locale->trans('notifications.footer_reason'), $locale->trans('notifications.footer_reason'),
$locale->trans('notifications.footer_reason_link'), $locale->trans('notifications.footer_reason_link'),
); );