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 for node 0.12 and lower version #28

Open
mosquito1994 opened this issue Dec 18, 2015 · 0 comments
Open

flash for node 0.12 and lower version #28

mosquito1994 opened this issue Dec 18, 2015 · 0 comments

Comments

@mosquito1994
Copy link

I'm using node 0.12.5. I cannot get the message in jade views with forms like 'flash.info', am I using it in a wrong way?
What's more, I must add
res.locals.flash = req.flash();
in your flash.js after
req.flash = _flash;
in line 20 and successfully get the message.
What's wrong with me please?

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

1 participant