]> git.openstreetmap.org Git - rails.git/blob - app/views/api/users/gpx_files.builder
Move mechanics of changeset subscriptions into the model
[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