]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/open_graph_helper.rb
Move api error handling and timeouts to parent class
[rails.git] / app / helpers / open_graph_helper.rb
index b3f0ab92849e81be230992c0e3ff1f524258cc64..cde848e5d13762ac718431632aaf44c597c3bf54 100644 (file)
@@ -10,6 +10,8 @@ module OpenGraphHelper
       "og:description" => properties["og:description"] || t("layouts.intro_text")
     }.merge(
       opengraph_image_properties(properties)
+    ).merge(
+      properties.slice("article:published_time")
     )
 
     safe_join(tags.map do |property, content|