{"action":"created","issue":{"url":"https://api.github.com/repos/jasonkneen/RESTe/issues/8","labels_url":"https://api.github.com/repos/jasonkneen/RESTe/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/jasonkneen/RESTe/issues/8/comments","events_url":"https://api.github.com/repos/jasonkneen/RESTe/issues/8/events","html_url":"https://github.com/jasonkneen/RESTe/issues/8","id":88471249,"number":8,"title":"exports.definition for Alloy","user":{"login":"awamser","id":318011,"avatar_url":"https://avatars.githubusercontent.com/u/318011?v=3","gravatar_id":"","url":"https://api.github.com/users/awamser","html_url":"https://github.com/awamser","followers_url":"https://api.github.com/users/awamser/followers","following_url":"https://api.github.com/users/awamser/following{/other_user}","gists_url":"https://api.github.com/users/awamser/gists{/gist_id}","starred_url":"https://api.github.com/users/awamser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awamser/subscriptions","organizations_url":"https://api.github.com/users/awamser/orgs","repos_url":"https://api.github.com/users/awamser/repos","events_url":"https://api.github.com/users/awamser/events{/privacy}","received_events_url":"https://api.github.com/users/awamser/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-15T16:11:17Z","updated_at":"2015-06-15T18:41:34Z","closed_at":"2015-06-15T16:12:31Z","body":"This isn't really and issue... but when you're setting up the exports.definition= {} for the Alloy model.  Where are you adding the collection array for the multiple end points? Something like this?\r\n\r\n~~~\r\nexports.definition = {\r\n    config : {\r\n        url: \"...\",\r\n        models:  [{\r\n            ...\r\n       }],\r\n        methods: [{\r\n            ...\r\n       }]\r\n    }\r\n}\r\n~~~\r\n\r\nGoing to test this now..."},"comment":{"url":"https://api.github.com/repos/jasonkneen/RESTe/issues/comments/112167566","html_url":"https://github.com/jasonkneen/RESTe/issues/8#issuecomment-112167566","issue_url":"https://api.github.com/repos/jasonkneen/RESTe/issues/8","id":112167566,"user":{"login":"jasonkneen","id":502002,"avatar_url":"https://avatars.githubusercontent.com/u/502002?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonkneen","html_url":"https://github.com/jasonkneen","followers_url":"https://api.github.com/users/jasonkneen/followers","following_url":"https://api.github.com/users/jasonkneen/following{/other_user}","gists_url":"https://api.github.com/users/jasonkneen/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonkneen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonkneen/subscriptions","organizations_url":"https://api.github.com/users/jasonkneen/orgs","repos_url":"https://api.github.com/users/jasonkneen/repos","events_url":"https://api.github.com/users/jasonkneen/events{/privacy}","received_events_url":"https://api.github.com/users/jasonkneen/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T18:41:33Z","updated_at":"2015-06-15T18:41:33Z","body":"You don't need to do anything in app/models. You don't need to define any model or collections files. Reste generates everything on the fly.\n\nOn Mon, Jun 15, 2015 at 7:01 PM, Alan <notifications@github.com> wrote:\n\n> Are you providing a generic config in app/models?\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/jasonkneen/RESTe/issues/8#issuecomment-112154657"}}