]> git.openstreetmap.org Git - rails.git/blob - app/views/map_bugs/read.gpx.builder
Get returning of bugs as GPX files working
[rails.git] / app / views / map_bugs / read.gpx.builder
1 xml.instruct!
2
3 xml.gpx("version" => "1.1", 
4         "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
5         "xsi:schemaLocation" => "http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd") do
6   xml << render(:partial => "bug", :object => @bug)
7 end