]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/show.rss.builder
Remove duplicate translation key
[rails.git] / app / views / api / notes / show.rss.builder
index 61ee0857a456562052e1186f75d53ed10e81f8df..d5de8abb484d7d7318f733ef098d89536c31bb36 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
@@ -8,6 +9,6 @@ xml.rss("version" => "2.0",
     xml.description t("api.notes.rss.description_item", :id => @note.id)
     xml.link url_for(:controller => "/site", :action => "index", :only_path => false)
 
-    xml << render(:partial => "note", :object => @note)
+    xml << render(@note)
   end
 end