Skip to content

Commit

Permalink
Merge branch 'master' of github.com:visionmedia/express-resource
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Dec 28, 2011
2 parents 0634652 + d0118c6 commit 274045e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/user.js
@@ -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 274045e

Please sign in to comment.