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