Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flash[:notice] unset after a redirect #2

Open
9z0b3t1c opened this issue Dec 17, 2009 · 3 comments
Open

flash[:notice] unset after a redirect #2

9z0b3t1c opened this issue Dec 17, 2009 · 3 comments

Comments

@9z0b3t1c
Copy link

Hi,

In my sinatra app, I would like to be able to set a flash[:notice] message, then redirect, but it seems that the flash[:notice] is empty after a redirect.

Is this the expected behaviour?

Thanks,
Steven

@styx
Copy link

styx commented Jun 3, 2011

I'm also interested in

@styx
Copy link

styx commented Jun 3, 2011

Ok, I found a sollution:
require 'sinatra/redirect_with_flash'

@mcansky
Copy link

mcansky commented Aug 27, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants