5645: add og:site_name to the list of open graph meta tags added to the page.
authorRadhika Chippada <radhika@curoverse.com>
Thu, 14 May 2015 13:22:43 +0000 (09:22 -0400)
committerRadhika Chippada <radhika@curoverse.com>
Thu, 14 May 2015 13:22:43 +0000 (09:22 -0400)
apps/workbench/app/views/layouts/application.html.erb

index b4b582d07ce8a558e2fa6219cd6a1d232a41b8fa..66d495006f413f3fe18b3703d4cec7c32e205cff 100644 (file)
@@ -22,6 +22,7 @@
   <%# Add open graph meta tags %>
   <meta property="og:type" content="article" />
   <meta property="og:url" content="<%= request.url %>" />
+  <meta property="og:site_name" content="<%= Rails.configuration.site_name %>" />
   <% if @object %>
     <% if (@object.respond_to?(:name) rescue nil) and @object.name.present? %>
       <meta property="og:title" content="<%= @object.name%>" />