Permalink
Browse files

Merge pull request #50 from trackball/patch-1

Update README.md (missing next())
  • Loading branch information...
2 parents 26519f4 + dbf30fe commit f1b0605268f3c50c58e8e7caf90159b38c4e3480 @mashpie committed Feb 13, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
@@ -94,6 +94,8 @@ In an express app, you might use i18n.init to gather language settings of your v
res.locals.__n = function() {
return i18n.__n.apply(req, arguments);
};
+ // do not forget this, otherwise your app will hang
+ next();
});
app.use(app.router);

0 comments on commit f1b0605

Please sign in to comment.