Closed ukayani closed 7 years ago
Addresses issue/enhancement #5
// routes/routes.js router.add("/v1", require("./v1/routes")); // routes/v1/routes.js router.add("/auth", require("./auth")); // routes/v1/auth.js router.post("/register", function (req, res, next) {});
@Cyberuben @Steinweber
Please take a look at the tests under the describe block: Nested routers via .add and let me know if this fits your request.
Nested routers via .add
If its good i'll merge it in. It doesn't break existing functionality.
Addresses issue/enhancement #5
Usage
@Cyberuben @Steinweber
Please take a look at the tests under the describe block:
Nested routers via .add
and let me know if this fits your request.If its good i'll merge it in. It doesn't break existing functionality.