{"action":"opened","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/2730","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/2730/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/2730/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/2730/events","html_url":"https://github.com/balderdashy/sails/issues/2730","id":60236257,"number":2730,"title":"Blueprint routes fail on sails global config off","user":{"login":"badunk","id":263556,"avatar_url":"https://avatars.githubusercontent.com/u/263556?v=3","gravatar_id":"","url":"https://api.github.com/users/badunk","html_url":"https://github.com/badunk","followers_url":"https://api.github.com/users/badunk/followers","following_url":"https://api.github.com/users/badunk/following{/other_user}","gists_url":"https://api.github.com/users/badunk/gists{/gist_id}","starred_url":"https://api.github.com/users/badunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badunk/subscriptions","organizations_url":"https://api.github.com/users/badunk/orgs","repos_url":"https://api.github.com/users/badunk/repos","events_url":"https://api.github.com/users/badunk/events{/privacy}","received_events_url":"https://api.github.com/users/badunk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-08T01:53:52Z","updated_at":"2015-03-08T01:53:52Z","closed_at":null,"body":"My config/globals.js:\r\n```\r\nmodule.exports.globals = false;\r\n```\r\n\r\n```\r\nError:\r\n\r\n ReferenceError: sails is not defined\r\n    at Object.module.exports.parseLimit (/Users/dwong/projects/github/whym/node_modules/sails/lib/hooks/blueprints/actionUtil.js:284:25)\r\n    at findRecords (/Users/dwong/projects/github/whym/node_modules/sails/lib/hooks/blueprints/actions/find.js:42:22)\r\n    at routeTargetFnWrapper (/Users/dwong/projects/github/whym/node_modules/sails/lib/router/bind.js:179:5)\r\n    at callbacks (/Users/dwong/projects/github/whym/node_modules/sails/node_modules/express/lib/router/index.js:164:37)\r\n    at param (/Users/dwong/projects/github/whym/node_modules/sails/node_modules/express/lib/router/index.js:138:11)\r\n    at pass (/Users/dwong/projects/github/whym/node_modules/sails/node_modules/express/lib/router/index.js:145:5)\r\n    at nextRoute (/Users/dwong/projects/github/whym/node_modules/sails/node_modules/express/lib/router/index.js:100:7)\r\n    at callbacks (/Users/dwong/projects/github/whym/node_modules/sails/node_modules/express/lib/router/index.js:167:11)\r\n```"}}