Open grabbou opened 9 years ago
(But actually with Express being so unopinionated they can even use general-purpose middleware so mind-fuck guaranteed)
@grabbou feel free to make a pull request. It's a good idea to show param and general middleware so maybe create both.
It'd be quite cool to show users how they can profit from
app.param
.Maybe worth mentioning there are two ways to approach this problem? Showing the beginners not everything needs to be handled in a route handler might be a nice tip!
WDYT?