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/authorize_interactions/_post_follow_actions.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/authorize_interactions/_post_follow_actions.html.haml') 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') -- cgit