Skip to content

Commit

Permalink
Make sure we give iD uncompressed XML for a trace
Browse files Browse the repository at this point in the history
See #745
  • Loading branch information
tomhughes committed Feb 28, 2015
1 parent 5ab7591 commit d6bbcae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/site/_id.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d6bbcae

Please sign in to comment.