arnorhs/express-route-controller — pull request #2 by andresz1 (2014-08-24 01:41:13+00:00)
Title: Request to change the format of routes.json 

I'm currently developing a REST api using express.js, and I saw a few things that I wanted to change in your module.
Here is an example:

routes.json
```
{
"/forums": "forum#read",
"/forums": { "action": "forum#create", "method": "post" }
}
```
This obviously won't work as expected cuz this isn't a valid json. I couldn't figure a way to make it work.
So this is my proposal:

New routes.json
```
{
"/forums": {
"post": "forum#create"
},
"/forums/:id": {
"delete": "forum#delete",
"put": "forum#update"
},
"/forums/:id?": "forum#read"
}
```
Less words, easier and now you can have a same route with different http methods.
Btw sorry if I'm mistaken.
Greetings!