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