X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f5f71dd42c949a655f736e80de11ca51b940fcef..9a9b045372a6f48420a9a6dacfde52c34ab7abce:/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;