Closed CodeJjang closed 8 years ago
I have /tag/find... routes even though I didn't declare them.
Example TagController:
module.exports = { find: function(req, res, next) { validateFindRequest(req) .then(TagService.getTags) .then(function(results) { return res.json(results); }) .catch(function(err) { return res.serverError(err); }); } };
All blueprints are off, I have this route:
'get /tag': 'TagController.find'
Result:
Sails version 0.12.x, module version 0.5.x.
Closed: Apparently actions blueprint is true by default, I had to explicitly set it to false and now it works.
I have /tag/find... routes even though I didn't declare them.
Example TagController:
All blueprints are off, I have this route:
Result:
Sails version 0.12.x, module version 0.5.x.
Closed: Apparently actions blueprint is true by default, I had to explicitly set it to false and now it works.