diff --git a/lib/hooks/blueprints/index.js b/lib/hooks/blueprints/index.js index 6119e00d7e..92192a26b8 100644 --- a/lib/hooks/blueprints/index.js +++ b/lib/hooks/blueprints/index.js @@ -323,7 +323,6 @@ module.exports = function(sails) { _bindRestRoute('get %s/:id', 'findOne'); _bindRestRoute('post %s', 'create'); _bindRestRoute('put %s/:id', 'update'); - _bindRestRoute('post %s/:id', 'update'); _bindRestRoute('delete %s/:id?', 'destroy'); // Bind "rest" blueprint/shadow routes based on known associations in our model's schema