about summary refs log tree commit diff
path: root/app/views/notification_mailer/follow.html.haml
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-07 15:42:58 +0100
committerGitHub <noreply@github.com>2022-11-07 15:42:58 +0100
commite1227457f197f856764bdb27c61d527180f98862 (patch)
treeca6201bd39d03bd849d285045f88354277c6a742 /app/views/notification_mailer/follow.html.haml
parent8515bc79628c6e753a09a7da42eff9ce7ed4ade7 (diff)
Fix links to the Web UI in notifications (#19981)
Most of the old routes are broken because of the /web removal.
Diffstat (limited to 'app/views/notification_mailer/follow.html.haml')
-rw-r--r--app/views/notification_mailer/follow.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notification_mailer/follow.html.haml b/app/views/notification_mailer/follow.html.haml
index a59ef8835..f250cbbd2 100644
--- a/app/views/notification_mailer/follow.html.haml
+++ b/app/views/notification_mailer/follow.html.haml
@@ -39,5 +39,5 @@
                             %tbody
                               %tr
                                 %td.button-primary
-                                  = link_to web_url("accounts/#{@account.id}") do
+                                  = link_to web_url("@#{@account.pretty_acct}") do
                                     %span= t 'application_mailer.view_profile'