Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix examples/user.js so it no longer crashes on startup

  • Loading branch information...
commit ff29973278754797a28ba7d533242e974c7c77c0 1 parent 60746f6
@mscdex mscdex authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 examples/user.js
View
7 examples/user.js
@@ -1,6 +1,3 @@
-
-require.paths.unshift(__dirname + '/../support');
-
/**
* Module dependencies.
*/
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.