Render_componont and flash[:notice]

Hi,

When I install http://github.com/lackac/render_component/tree/rails-edge
all my flash[:notice] do not appear on www.

I don’t know why :confused:

Any ideas?

This only happens when there is a redirect after the flash[:notice] was
setup.
If I uninstall render_component everything acts as usual, flash messages
work.

Just to let you know.

http://github.com/lackac/render_component/issues#issue/1

The quick-fix is to comment the line:
flash.sweep if @_session && !component_request?