Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nrstott/bogart
Browse files Browse the repository at this point in the history
  • Loading branch information
nrstott committed Nov 22, 2011
2 parents 16b9ed2 + 799faba commit c73832a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleware.js
Expand Up @@ -291,7 +291,7 @@ exports.Flash = function(config, nextApp) {


return when(prevData, function(data) {
req.env.flash = data;
req.env.flash = data || {};
// create the setter for new flash data
var setter = config.flashDataProvider.setter(req, newFlashId);
req.flash = function(key, val) {
Expand Down

0 comments on commit c73832a

Please sign in to comment.