]> git.openstreetmap.org Git - rails.git/blob - app/views/api/users/gpx_files.builder
Merge branch 'pull/3164'
[rails.git] / app / views / api / users / gpx_files.builder
1 xml.instruct! :xml, :version => "1.0"
2
3 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
4   @traces.each do |trace|
5     osm << render(:partial => "api/traces/trace", :locals => { :trace => trace })
6   end
7 end