about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-10-21 22:52:10 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-10-21 22:52:10 +0200
commit84cf78da8ad80d8a4128451d8d96ae74acbac318 (patch)
treec67c3c78245e4b427130abc4037c752c0e50f262 /app
parentc73864c1373330f2ef75006d639f90a1debcce6d (diff)
Fix og:url on toots' public view (#9047)
Fixes #9045
Diffstat (limited to 'app')
-rw-r--r--app/views/stream_entries/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stream_entries/show.html.haml b/app/views/stream_entries/show.html.haml
index 2edc155bf..0e81c4f68 100644
--- a/app/views/stream_entries/show.html.haml
+++ b/app/views/stream_entries/show.html.haml
@@ -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