about summary refs log tree commit diff
path: root/app/views/accounts
diff options
context:
space:
mode:
authorShunsuke Michii <harukasan@me.com>2017-05-13 22:56:42 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-13 15:56:42 +0200
commit89210781cb78cd734b4791bfba7b17a012f97edf (patch)
tree87cd03b7400a8a64169fdab69393ce2c6edf7ea5 /app/views/accounts
parente9810cbad61625771c4d0a8de25211795f03d82e (diff)
Fix og:url. (#3031)
Diffstat (limited to 'app/views/accounts')
-rw-r--r--app/views/accounts/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml
index 11f74decf..a19049103 100644
--- a/app/views/accounts/show.html.haml
+++ b/app/views/accounts/show.html.haml
@@ -6,7 +6,7 @@
   %link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(@account, format: 'atom') }/
 
   %meta{ property: 'og:type', content: 'profile' }/
-  = render 'og', account: @account, url: account_url(@account, only_path: false)
+  = render 'og', account: @account, url: short_account_url(@account, only_path: false)
 
 - if show_landing_strip?
   = render partial: 'shared/landing_strip', locals: { account: @account }