Skip to content
Snippets Groups Projects
Commit 84cf78da authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

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

Fixes #9045
parent c73864c1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment