I have the following in my controller:
redirect_to signin_path, :notice => \"The email is already registered\"
In my view I have
simple, but effective:
modify ApplicationController < ActionController::Base as follows:
alias :std_redirect_to :redirect_to def redirect_to(*args) flash.keep std_redirect_to *args end