def redir
    flash[:foo] = 'bar'
    redirect_to :action => 'two'
    false
  end


And if you want to see the behavior I expect, call flash.sweep in redir before returning false:

def redir
  flash[:foo] = 'bar'
  redirect_to :action => 'two'
  flash.sweep
  false
end


_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to