Support route view config
michaelleeallen opened this issue · comments
Each route should be able to specify the name of a view template to render its data. Should not be required though. Would be found at res.locals.viewName, config for route would look something like:
{
"/my/route": {
"get": {
"viewName": "path/to/view"
}
}
}
I've been testing out reducto with express, this enhancement would be awesome 👍
I'm going to try and find some time this week end and make this happen. Thanks for the feedback.
Oh awesome, btw I meant to say testing out with jade, express was a given ;)