No trace description now redirects to /new

This commit is contained in:
J Guthrie 2018-07-25 01:49:51 +01:00
parent 39f0b501e8
commit c299bd42ef

View file

@ -117,6 +117,7 @@ class TracesController < ApplicationController
do_create(params[:trace][:gpx_file], params[:trace][:tagstring],
params[:trace][:description], params[:trace][:visibility])
rescue StandardError => ex
render :action => "new" if !@trace.valid?
logger.debug ex
end