X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24b138db094e4b5e8d062c5248ee867967dc0fd7..c192bd0d40aab2bbabf47c1dd726c366ffa51db3:/app/controllers/api/tracepoints_controller.rb diff --git a/app/controllers/api/tracepoints_controller.rb b/app/controllers/api/tracepoints_controller.rb index 5fbece05b..f7b812f7c 100644 --- a/app/controllers/api/tracepoints_controller.rb +++ b/app/controllers/api/tracepoints_controller.rb @@ -98,7 +98,7 @@ module Api end end - trkseg << point.to_xml_node(timestamps) + trkseg << point.to_xml_node(:print_timestamp => timestamps) end response.headers["Content-Disposition"] = "attachment; filename=\"tracks.gpx\""