]> git.openstreetmap.org Git - rails.git/blob - app/views/map_bugs/_bug.gpx.builder
Make the edit action default to z17
[rails.git] / app / views / map_bugs / _bug.gpx.builder
1 xml.wpt("lon" => bug.lon, "lat" => bug.lat) do
2   xml.desc do
3     xml.cdata! bug.flatten_comment("<hr />")
4   end
5
6   xml.extension do
7     if bug.status = "open"
8       xml.closed "0"
9     else
10       xml.closed "1"
11     end
12
13     xml.id bug.id
14   end
15 end