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
Any ideas?
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
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?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs