about summary refs log tree commit diff
path: root/app/views/authorize_interactions/_post_follow_actions.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/authorize_interactions/_post_follow_actions.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/authorize_interactions/_post_follow_actions.html.haml')
-rw-r--r--app/views/authorize_interactions/_post_follow_actions.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/authorize_interactions/_post_follow_actions.html.haml b/app/views/authorize_interactions/_post_follow_actions.html.haml
index dd71160e2..e30097964 100644
--- a/app/views/authorize_interactions/_post_follow_actions.html.haml
+++ b/app/views/authorize_interactions/_post_follow_actions.html.haml
@@ -1,4 +1,4 @@
 .post-follow-actions
-  %div= link_to t('authorize_follow.post_follow.web'), web_url("accounts/#{@resource.id}"), class: 'button button--block'
+  %div= link_to t('authorize_follow.post_follow.web'), web_url("@#{@resource.pretty_acct}"), class: 'button button--block'
   %div= link_to t('authorize_follow.post_follow.return'), ActivityPub::TagManager.instance.url_for(@resource), class: 'button button--block'
   %div= t('authorize_follow.post_follow.close')