mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 12:19:51 +01:00
fix view-locals example. Closes #1370
this was from 2x, doesnt need to be there at all
This commit is contained in:
parent
c492cde048
commit
44d0625e91
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user