fixed the ticket 432
authorNick Black <nickb@svn.openstreetmap.org>
Mon, 7 May 2007 17:20:33 +0000 (17:20 +0000)
committerNick Black <nickb@svn.openstreetmap.org>
Mon, 7 May 2007 17:20:33 +0000 (17:20 +0000)
app/controllers/trace_controller.rb

index fcf66dac176d5d5245eb96116977c2196da481cc..ac4a4056ef1f02fdb3d20e83fe3d9fb977ce57ce 100644 (file)
@@ -115,7 +115,8 @@ class TraceController < ApplicationController
       redirect_to :action => 'mine'
     else
       # fixme throw an error here
       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
 
     end
   end