about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-01-22 22:22:14 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-01-22 14:22:14 +0100
commit8cc65cde274055a8c6e89a0de2d8811880d4b55d (patch)
treec5af3904c20ece10795394ecc7274aa0b4cdd440 /app/views
parentb7f6ddeaf12215d4f2fd131c7c2b9270c24230d7 (diff)
Resolve URL for local account in follow authorization success view (#6324)
Diffstat (limited to 'app/views')
-rw-r--r--app/views/authorize_follows/success.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/authorize_follows/success.html.haml b/app/views/authorize_follows/success.html.haml
index f0b495689..63ff3bcf1 100644
--- 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')