]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/show.gpx.builder
Avoid passing the current_user.id when commenting
[rails.git] / app / views / notes / show.gpx.builder
index e54d7724692b59d63b5c24951e73079e095feccf..f87ff4dd947ba2f8f323287e6a9916cbe04644d0 100644 (file)
@@ -1,6 +1,8 @@
 xml.instruct!
 
 xml.instruct!
 
-xml.gpx("version" => "1.1", 
+xml.gpx("version" => "1.1",
+        "creator" => "OpenStreetMap.org",
+        "xmlns" => "http://www.topografix.com/GPX/1/1",
         "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
         "xsi:schemaLocation" => "http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd") do
   xml << render(:partial => "note", :object => @note)
         "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
         "xsi:schemaLocation" => "http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd") do
   xml << render(:partial => "note", :object => @note)