Resolve URL for local account in follow authorization success view (#6324)

This commit is contained in:
Akihiko Odaki 2018-01-22 22:22:14 +09:00 committed by Eugen Rochko
parent b7f6ddeaf1
commit 8cc65cde27
1 changed files with 1 additions and 1 deletions

View File

@ -12,5 +12,5 @@
.post-follow-actions .post-follow-actions
%div= link_to t('authorize_follow.post_follow.web'), web_url("accounts/#{@account.id}"), class: 'button button--block' %div= link_to t('authorize_follow.post_follow.web'), web_url("accounts/#{@account.id}"), class: 'button button--block'
%div= link_to t('authorize_follow.post_follow.return'), @account.url, class: 'button button--block' %div= link_to t('authorize_follow.post_follow.return'), TagManager.instance.url_for(@account), class: 'button button--block'
%div= t('authorize_follow.post_follow.close') %div= t('authorize_follow.post_follow.close')