Skip to content

Commit

Permalink
Fix examples/user.js so it no longer crashes on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
mscdex committed Dec 25, 2011
1 parent 60746f6 commit ff29973
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

require.paths.unshift(__dirname + '/../support');

/**
* Module dependencies.
*/
Expand Down Expand Up @@ -35,11 +32,11 @@ var user = {
destroy: function(req, res){
delete users[req.params.user];
res.send('removed ' + req.params.user);
}
},

login: function(req, res){
res.send('logged in ' + req.params.user);
}
},

logout: function(req, res){
res.send('logged out');
Expand Down

0 comments on commit ff29973

Please sign in to comment.