about summary refs log tree commit diff
path: root/app/views/accounts/show.html.haml
diff options
context:
space:
mode:
authorWesley Ellis <tahnok@gmail.com>2017-04-22 11:29:46 -0400
committerEugen <eugen@zeonfederated.com>2017-04-22 17:29:46 +0200
commita1174a6d7e60dd73ab97da08b52dd751c45e2b6b (patch)
tree82ab9dace044738a843fb404ed7d1db9dc9afe77 /app/views/accounts/show.html.haml
parent5357329454afd76c9c3bf5c292d605e3039d3508 (diff)
Add og:url tags (#2298)
* add og:url to stream_item view

* add og:url and text to about/show

* add og:url to profile, followers and follows pages
Diffstat (limited to 'app/views/accounts/show.html.haml')
-rw-r--r--app/views/accounts/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml
index 4611155cd..11f74decf 100644
--- a/app/views/accounts/show.html.haml
+++ b/app/views/accounts/show.html.haml
@@ -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
+  = render 'og', account: @account, url: account_url(@account, only_path: false)
 
 - if show_landing_strip?
   = render partial: 'shared/landing_strip', locals: { account: @account }