I am trying to find a way to dynamically add routes from the config / routes.js file. I am creating a module that needs some routes and do not want the user to add it manually in config / routes.js.
Is there any way to do this? I watch doc sails and maybe with hooks, I cannot achieve this, but I cannot find how
thank
I'm curious Which routing path do you want to create?
Remember that wildcard is available in route.js
route.js
'GET /validEmail/*', "VerificationController.verifyEmail"'