Skip to content

Commit

Permalink
Merge db62d83 into 92fd748
Browse files Browse the repository at this point in the history
  • Loading branch information
Dido Arellano committed Aug 26, 2015
2 parents 92fd748 + db62d83 commit c384072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -20,7 +20,7 @@ npm i flash
app.use(session()); // session middleware
app.use(require('flash')());

app.use(function (req, res) {
app.use(function (req, res, next) {
// flash a message
req.flash('info', 'hello!');
next();
Expand Down

0 comments on commit c384072

Please sign in to comment.