Make sure we give iD uncompressed XML for a trace

See #745
This commit is contained in:
Tom Hughes 2015-02-28 15:53:32 +00:00
parent 5ab7591d9c
commit d6bbcae9db

View file

@ -31,7 +31,7 @@
} }
<% if params[:gpx] -%> <% if params[:gpx] -%>
params.gpx = '<%= trace_data_url(params[:gpx]) %>'; params.gpx = '<%= trace_data_url(params[:gpx], :format => :xml) %>';
<% else -%> <% else -%>
if (hashParams.gpx) { if (hashParams.gpx) {
params.gpx = hashParams.gpx; params.gpx = hashParams.gpx;