No trace description now redirects to /new
This commit is contained in:
parent
39f0b501e8
commit
c299bd42ef
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue