From 89210781cb78cd734b4791bfba7b17a012f97edf Mon Sep 17 00:00:00 2001 From: Shunsuke Michii Date: Sat, 13 May 2017 22:56:42 +0900 Subject: [PATCH] Fix og:url. (#3031) --- app/views/accounts/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }