Controller.allRoutes.onlyIf(code, reason)
This is equal to invoking Route.onlyIf on all routes bound to this controller.
Route.onlyIf
Examples
app.allRoutes.onlyIf(myPersonalCheck); app.get("/foxx", function { // Do something });