X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/94b59f440321846760d430fee378f05a6a2803ee..95d99d0faf14e82aed6447fb9e92cc0e54e5e3ad:/app/views/api/notes/show.rss.builder?ds=sidebyside 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