Make sure we give iD uncompressed XML for a trace
authorTom Hughes <tom@compton.nu>
Sat, 28 Feb 2015 15:53:32 +0000 (15:53 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 28 Feb 2015 15:53:32 +0000 (15:53 +0000)
See #745

app/views/site/_id.html.erb

index 7ddee6218269792a64b18bbc4301ce15945d84e3..a6f42e43cf14f2e0a1c7e633954a9ad7596727c4 100644 (file)
@@ -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;