X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e6d7da3a629c952a5d27f4d356dd4d5c4293848a..88ba316abeecffccd1cb51c63ce5594c95023624:/app/controllers/api/tracepoints_controller.rb?ds=sidebyside diff --git a/app/controllers/api/tracepoints_controller.rb b/app/controllers/api/tracepoints_controller.rb index 9dc6e0d8b..b2d755fe6 100644 --- a/app/controllers/api/tracepoints_controller.rb +++ b/app/controllers/api/tracepoints_controller.rb @@ -96,7 +96,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\""