X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/94b59f440321846760d430fee378f05a6a2803ee..899fc66a62b036adcfd59f5da80c7fc6f30cd3a8:/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