Sails version: 0.12.3
Node version: 4.2.3
NPM version: 2.14.7
Operating system: Ubuntu 14.04
Situation:
I have a UserController having index action and corresponding User model and I have bind
/guests to UserController's index action. Now I want to disable blueprint route provided by sails, so that /guests should be the only endpoint for User index action.
So I have set
module.exports.blueprints = {
actions: false,
rest: false,
shortcuts: false
};
However this seems to have no effect, and I could still list all users using /user endpoint.
I have created a test project with the configuration I mentioned.
Steps to reproduce
git clone https://github.com/sujanadiga-practo/sails-test
cd sails-test
npm install
sails lift
localhost:1337/user_Obtained_:
{
"message": "Users fetched",
"users": []
}

Also http method seems to have no effect
@sujanadiga-practo thanks for the report- verified in latest sails 0.12.x. We'll follow up with a patch momentarily.
@sgress454 thanks!
https://github.com/sujanadiga-practo/sails-test/pull/1
published in 0.12.13
Its fixed in v0.12.13, thank you @mikermcneil