Permalink
Browse files

Merge branch 'master' of github.com:mashpie/i18n-node

  • Loading branch information...
mashpie committed Mar 4, 2013
2 parents 89ba825 + f1b0605 commit 3295b30fcdae1aae5da798f87351440b4cc4f9fd
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 3295b30

Please sign in to comment.