]> git.openstreetmap.org Git - rails.git/blob - app/views/api/changesets/changesets.builder
Fix database offline mode
[rails.git] / app / views / api / changesets / changesets.builder
1 xml.instruct! :xml, :version => "1.0"
2
3 # basic attributes
4
5 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
6   @changesets.each do |changeset|
7     osm << render(:partial => "api/changesets/changeset.builder", :locals => { :changeset => changeset })
8   end
9 end