Skip to content

Commit

Permalink
Merge pull request expressjs#821 from pikeas/patch-1
Browse files Browse the repository at this point in the history
Fixing typo: interacte -> interact
  • Loading branch information
tj committed Aug 21, 2011
2 parents b166fd7 + c8ab058 commit 72fab80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/route-middleware/app.js
@@ -1,4 +1,3 @@

/**
* Module dependencies.
*/
Expand Down Expand Up @@ -59,7 +58,7 @@ function andRestrictTo(role) {
// Middleware for faux authentication
// you would of course implement something real,
// but this illustrates how an authenticated user
// may interacte with middleware
// may interact with middleware

app.use(function(req, res, next){
req.authenticatedUser = users[0];
Expand Down

0 comments on commit 72fab80

Please sign in to comment.