visionmedia/express-resource — Issue #55: Compatibility with Express 3
Author: Couto
Created: 2012-03-06 12:38:16+00:00
State: open

I'm currently using express 3.0.0alpha1-pre (ok, i know it's alpha) and express-resource 0.2.4 (from npm)
As soon as I require express-resource i get this error:

```shell
TypeError: Cannot read property 'methods' of undefined
at Object. (/home/myUser/web/myWebsite/private/node_modules/express-resource/index.js:234:15)
```

That line refers to the following code block

```javascript
express.router.methods.concat(['del', 'all']).forEach(function(method){
Resource.prototype[method] = function(path, fn){
if ('function' == typeof path
|| 'object' == typeof path) fn = path, path = '';
this.map(method, path, fn);
return this;
}
});
```

My main question is: Are you planning to make express-resource compatible with Express 3, if so, do you have any ETA?
Thanks for your time =)