From e1227457f197f856764bdb27c61d527180f98862 Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 7 Nov 2022 15:42:58 +0100 Subject: Fix links to the Web UI in notifications (#19981) Most of the old routes are broken because of the /web removal. --- app/views/notification_mailer/mention.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/notification_mailer/mention.html.haml') diff --git a/app/views/notification_mailer/mention.html.haml b/app/views/notification_mailer/mention.html.haml index cfb7465c1..4ae9bb7b0 100644 --- a/app/views/notification_mailer/mention.html.haml +++ b/app/views/notification_mailer/mention.html.haml @@ -41,5 +41,5 @@ %tbody %tr %td.button-primary - = link_to web_url("statuses/#{@status.id}") do + = link_to web_url("@#{@status.account.pretty_acct}/#{@status.id}") do %span= t 'notification_mailer.mention.action' -- cgit