I would like to \"get rid\" of the router in node.js. Currently, what I have is something that looks like this:
app.get \'/thing1\', (req, res) -> re
From http://expressjs.com/api.html#app.VERB :
app.get(/^(.*)$/, function(req, res, next){ res.send(req.params[0]); });
Working gist: https://gist.github.com/elliotf/5826944
app.get('/:thing', function (req, res) { res.render(req.params.thing) })