]> git.openstreetmap.org Git - rails.git/commitdiff
Remove bogus trailing slash from GPX namespace URL
authorTom Hughes <tom@compton.nu>
Thu, 2 Dec 2010 19:23:38 +0000 (19:23 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 2 Dec 2010 19:23:38 +0000 (19:23 +0000)
app/controllers/api_controller.rb

index d66fbb28fba73171b9155369f410958f5d9f3932..95cc88869c054e1b82d363961c109d1485f48347 100644 (file)
@@ -46,7 +46,7 @@ class ApiController < ApplicationController
     root = XML::Node.new 'gpx'
     root['version'] = '1.0'
     root['creator'] = 'OpenStreetMap.org'
     root = XML::Node.new 'gpx'
     root['version'] = '1.0'
     root['creator'] = 'OpenStreetMap.org'
-    root['xmlns'] = "http://www.topografix.com/GPX/1/0/"
+    root['xmlns'] = "http://www.topografix.com/GPX/1/0"
     
     doc.root = root
 
     
     doc.root = root