Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/express-flash.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var connectFlash = require('connect-flash')();
*/
exports = module.exports = function () {

return function (req, res, next) {
return function expressFlash(req, res, next) {
connectFlash(req, res, function () {
// Proxy the render function so that the flash is
// retrieved right before the render function is executed
Expand All @@ -38,4 +38,4 @@ exports = module.exports = function () {
* Library version.
*/

exports.version = '0.0.2';
exports.version = '0.0.2';