]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Rework the signup page
[rails.git] / app / controllers / api_controller.rb
index 3e9e627db7fe02c2b7f5777f32f1429b13e9ed1d..fc59ffcc7c0f3535c495aa632b632e4c50baa636 100644 (file)
@@ -107,7 +107,7 @@ class ApiController < ApplicationController
       trkseg << point.to_xml_node(timestamps)
     end
 
       trkseg << point.to_xml_node(timestamps)
     end
 
-    response.headers["Content-Disposition"] = "attachment; filename=\"map.osm\""
+    response.headers["Content-Disposition"] = "attachment; filename=\"tracks.gpx\""
 
     render :text => doc.to_s, :content_type => "text/xml"
   end
 
     render :text => doc.to_s, :content_type => "text/xml"
   end