Change the way the orig_url is passed to fb

This commit is contained in:
Christophe Vilayphiou committed 2012-08-08 06:50:28 +08:00
1 parent fc560f4205
commit f7e6703d5f
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>