Fix links to the Web UI in notifications (#19981)

Most of the old routes are broken because of the /web removal.
This commit is contained in:
Claire
2022-11-07 15:42:58 +01:00
committed by GitHub
parent 8515bc7962
commit e1227457f1
9 changed files with 9 additions and 9 deletions

View File

@ -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')