From d6bbcae9dbd51414fd5b0d22129df9bd81650e62 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 28 Feb 2015 15:53:32 +0000 Subject: [PATCH] Make sure we give iD uncompressed XML for a trace See #745 --- app/views/site/_id.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 7ddee6218..a6f42e43c 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -31,7 +31,7 @@ } <% if params[:gpx] -%> - params.gpx = '<%= trace_data_url(params[:gpx]) %>'; + params.gpx = '<%= trace_data_url(params[:gpx], :format => :xml) %>'; <% else -%> if (hashParams.gpx) { params.gpx = hashParams.gpx; -- 2.43.2