commit: 8cc65cde274055a8c6e89a0de2d8811880d4b55d
parent: b7f6ddeaf12215d4f2fd131c7c2b9270c24230d7
Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Date: Mon, 22 Jan 2018 22:22:14 +0900
Resolve URL for local account in follow authorization success view (#6324)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/authorize_follows/success.html.haml b/app/views/authorize_follows/success.html.haml
@@ -12,5 +12,5 @@
.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.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')