Fix og:url. (#3031)

This commit is contained in:
Shunsuke Michii 2017-05-13 22:56:42 +09:00 committed by Eugen Rochko
parent e9810cbad6
commit 89210781cb
1 changed files with 1 additions and 1 deletions

View File

@ -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 }