X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b4dbf6233c3785e62af5bd313381f1844e5bbc19..aeb4271a27f3a331d65973f3c279cbc5bfa8a8dc:/app/views/api/notes/show.rss.builder diff --git a/app/views/api/notes/show.rss.builder b/app/views/api/notes/show.rss.builder index 61ee0857a..d5de8abb4 100644 --- a/app/views/api/notes/show.rss.builder +++ b/app/views/api/notes/show.rss.builder @@ -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