January 2016 Update
Starting with version 0.10.0, you can do this.
The controller ID is its path, in your case newPath/UserController
. So the custom config/routes.js
would look something like this:
'GET /newPath/user': 'newPath/UserController'
Automatic actions still work. You can also create such controllers using sails generate controller newPath/user
.
source share