From: Nick Black Date: Mon, 7 May 2007 17:20:33 +0000 (+0000) Subject: fixed the ticket 432 X-Git-Tag: live~8456 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/56e4364aa911498ff258edca3d8eafcfae9ed7d4 fixed the ticket 432 --- diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index fcf66dac1..ac4a4056e 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -115,7 +115,8 @@ class TraceController < ApplicationController redirect_to :action => 'mine' else # fixme throw an error here - # render :action => 'mine' + redirect_to :action => 'mine' + flash[:notice] = "You haven't entered a tag or a description for yoru traces." end end