1
0
Fork 1
forked from fedi/mastodon

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

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 }