You contacted the relevant documentation, but did not look in the right section. You want to use the controller / custom route action to route / register to the UserController.register action:
"/register": "UserController.register"
or
"/register": {controller: 'user', action: 'register'}
in config / routes.js will do what you want.
To disable the default route / user / register , you can: 1) set actions to false in config / blueprints.js (this will turn off all controller / routing default settings) or explicitly disable the route in config / routes.js :
"/user/register": {response: 'notFound'}
source share