]> git.openstreetmap.org Git - rails.git/commitdiff
Add missing xmlns declaration for diary_entries
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 24 Nov 2016 11:41:04 +0000 (11:41 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 24 Nov 2016 11:41:04 +0000 (11:41 +0000)
This is already present in the other feeds.

app/views/diary_entry/rss.rss.builder

index d9cc40797eae0653c7a02b1648fd600531460dd6..b680e85e6d7c3af8380d889af8e0d449a8ff28f3 100644 (file)
@@ -1,6 +1,7 @@
 xml.instruct!
 
 xml.rss("version" => "2.0",
+        "xmlns:dc" => "http://purl.org/dc/elements/1.1/",
         "xmlns:geo" => "http://www.w3.org/2003/01/geo/wgs84_pos#",
         "xmlns:georss" => "http://www.georss.org/georss") do
   xml.channel do