Skip to content

Commit 2c98237

Browse files
committed
Merge pull request #337 from caske33/express-README-fix
Fixes a bug in the express README documentation
2 parents d5ffd8c + 3c0e00c commit 2c98237

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ var app = express();
9393
app.use(orm.express("mysql://username:password@host/database", {
9494
define: function (db, models, next) {
9595
models.person = db.define("person", { ... });
96+
next();
9697
}
9798
}));
9899
app.listen(80);

0 commit comments

Comments
 (0)