X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..3d5ad709fa6cd47a7d5c1dd750bfa551e5811b39:/app/views/api/notes/show.rss.builder?ds=inline 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