Skip to content

Commit

Permalink
fix view-locals example. Closes expressjs#1370
Browse files Browse the repository at this point in the history
this was from 2x, doesnt need to be there at all
  • Loading branch information
tj committed Oct 15, 2012
1 parent c492cde commit 44d0625
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/view-locals/index.js
Expand Up @@ -101,11 +101,6 @@ app.get('/middleware-locals', count2, users2, function(req, res, next){
res.render('user', { title: 'Users' });
});


app.get('/locals', function(req, res){
res.render('user', { title: 'Users' });
});

// keep in mind that middleware may be placed anywhere
// and in various combinations, so if you have locals
// that you wish to make available to all subsequent
Expand Down

0 comments on commit 44d0625

Please sign in to comment.