X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1f7bd08f4a8a6a626a0c1d7ed60f2dcd6a6801e8..b2784c4d2dcbdde2d52671283a8c42eaa71bdbc0:/app/views/site/_id.html.erb 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;