Permalink
Browse files

Merge branch 'master' of github.com:visionmedia/express-resource

  • Loading branch information...
2 parents 0634652 + d0118c6 commit 274045e914522cf6adc2335b76dec02d3f741280 @tj tj committed Dec 28, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −5 examples/user.js
View
@@ -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');

0 comments on commit 274045e

Please sign in to comment.