Sails multiple handlers for the same route
As the title suggests, I would like to assign multiple action handlers within different controllers for the same route in Sails Js What I have tried: "post /rest/users": [{ controller: "FirstController", action: "someAction" }, { controller: "SecondController", action: "otherAction" }] But this gives me error 51 in Sails, and neither action is reached (when debugged). I searched for this solution but I couldn't find something. I know that Sails uses Express's route middleware and I found that this can be done in Express with the following route: app.post('/users', createUser, saveToDB,