]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_id.html.erb
Make sure we give iD uncompressed XML for a trace
[rails.git] / 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;