Thursday, 13 April 2017

Dynamic routing and rendering a pug

I have a question, how to render for example a pug file when you have route like this?

router.get('/user/:id/edit', function(req,res,next){
....
}

Thanks in advance!



via Simon Draymon

No comments:

Post a Comment