From 44d0625e919ff6f600ec91dffd0e8b7d9333b9ad Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Mon, 15 Oct 2012 16:07:56 -0700 Subject: [PATCH] fix view-locals example. Closes #1370 this was from 2x, doesnt need to be there at all --- examples/view-locals/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/view-locals/index.js b/examples/view-locals/index.js index 7a68ce17b1..7658e83fa3 100644 --- a/examples/view-locals/index.js +++ b/examples/view-locals/index.js @@ -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