Fix og:url on toots' public view (#9047)

Fixes #9045
th-downstream
ThibG 6 years ago committed by Eugen Rochko
parent eb62f72990
commit f14067368f

@ -12,7 +12,7 @@
= opengraph 'og:site_name', site_title
= opengraph 'og:type', 'article'
= opengraph 'og:title', "#{display_name(@account)} (@#{@account.local_username_and_domain})"
= opengraph 'og:url', short_account_status_url(@account, @stream_entry)
= opengraph 'og:url', short_account_status_url(@account, @stream_entry.activity)
= render 'stream_entries/og_description', activity: @stream_entry.activity
= render 'stream_entries/og_image', activity: @stream_entry.activity, account: @account

Loading…
Cancel
Save