Made the trackpoints call return a more sensible filename.
This commit is contained in:
parent
5d658d5a34
commit
1e6bcb6c2d
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class ApiController < ApplicationController
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue