]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/trace_controller.rb
fixed the ticket 432
[rails.git] / 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
-      # render :action => 'mine'
+       redirect_to :action => 'mine'
+       flash[:notice] = "You haven't entered a tag or a description for yoru traces."
     end
   end