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

Fixes #9045
signup-info-prompt
ThibG 2018-10-21 22:52:10 +02:00 committed by Eugen Rochko
parent c73864c137
commit 84cf78da8a
1 changed files with 1 additions and 1 deletions

View File

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