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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View file

@ -77,4 +77,4 @@
- if user_signed_in?
·
= link_to t('statuses.open_in_web'), web_url("statuses/#{status.id}"), class: 'detailed-status__application', target: '_blank'
= link_to t('statuses.open_in_web'), web_url("@#{status.account.pretty_acct}/#{status.id}"), class: 'detailed-status__application', target: '_blank'