]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/open_graph_helper.rb
Make test for a "zero hour" block more robust
[rails.git] / app / helpers / open_graph_helper.rb
index ac1a572196499f043f224c5a3b39873b72b0381e..ab7e230cbec768a7745192934bc5d7ebb40965b1 100644 (file)
@@ -6,7 +6,7 @@ module OpenGraphHelper
       "og:type" => "website",
       "og:image" => image_url("osm_logo_256.png", :protocol => "http"),
       "og:image:secure_url" => image_url("osm_logo_256.png", :protocol => "https"),
-      "og:url" => url_for(:host => SERVER_URL),
+      "og:url" => url_for(:only_path => false),
       "og:description" => t("layouts.intro_text")
     }