diff --git a/app/helpers/open_graph_helper.rb b/app/helpers/open_graph_helper.rb index 61c3dc44b..cb72d7254 100644 --- a/app/helpers/open_graph_helper.rb +++ b/app/helpers/open_graph_helper.rb @@ -5,7 +5,8 @@ module OpenGraphHelper "og:title" => [t("layouts.project_name.title"), title].compact.join(" | "), "og:type" => "website", "og:image" => image_path("osm_logo_256.png", :host => SERVER_URL, :protocol => "http"), - "og:image:secure_url" => image_path("osm_logo_256.png", :host => SERVER_URL, :protocol => "https") + "og:image:secure_url" => image_path("osm_logo_256.png", :host => SERVER_URL, :protocol => "https"), + "og:url" => url_for(:host => SERVER_URL) } tags.map do |property, content|