X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..38369675b7b574c044a178d9f67ce91ed3d407c1:/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