X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5ab7591d9caac8d6b0199df619c21f35f57cd6e1..d6bbcae9dbd51414fd5b0d22129df9bd81650e62:/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;