Change the way the orig_url is passed to fb

This commit is contained in:
Christophe Vilayphiou committed 2012-08-08 11:04:19 +08:00
1 parent 4bed925e0f
commit 6cfdf0f25a
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
<html>
<head>
<meta property="og:title" content="<%= @object.title %>" />
<meta property="og:description" content="<%= @object.subtitle %>" />
<meta property="og:description" content="<%= strip_tags @object.subtitle %>" />
<meta property="og:url" content="<%= @orig_url %>" />
<meta property="og:image" content="<%= 'http://' + request.env['HTTP_HOST'] + @object.image.url %>" />
</head>