X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f5f71dd42c949a655f736e80de11ca51b940fcef..56316e17ada73e35b7ddf9782619823788a92d71:/app/views/site/_id.html.erb?ds=sidebyside 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;