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?
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 afterreq.flash = _flash;
in line 20 and successfully get the message. What's wrong with me please?