X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b4dbf6233c3785e62af5bd313381f1844e5bbc19..a1657f03a836fa5ade55e52083eff359b486e8f3:/app/views/api/notes/index.xml.builder diff --git a/app/views/api/notes/index.xml.builder b/app/views/api/notes/index.xml.builder index 286b1e1cc..ebb026e65 100644 --- a/app/views/api/notes/index.xml.builder +++ b/app/views/api/notes/index.xml.builder @@ -1,5 +1,5 @@ xml.instruct! xml.osm(OSM::API.new.xml_root_attributes) do |osm| - osm << (render(:partial => "note", :collection => @notes) || "") + osm << (render(@notes) || "") end