{"action":"created","issue":{"url":"https://api.github.com/repos/stellar/stex/issues/38","labels_url":"https://api.github.com/repos/stellar/stex/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/stellar/stex/issues/38/comments","events_url":"https://api.github.com/repos/stellar/stex/issues/38/events","html_url":"https://github.com/stellar/stex/pull/38","id":55947561,"number":38,"title":"Autoload models first","user":{"login":"nullstyle","id":366,"avatar_url":"https://avatars.githubusercontent.com/u/366?v=3","gravatar_id":"","url":"https://api.github.com/users/nullstyle","html_url":"https://github.com/nullstyle","followers_url":"https://api.github.com/users/nullstyle/followers","following_url":"https://api.github.com/users/nullstyle/following{/other_user}","gists_url":"https://api.github.com/users/nullstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/nullstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nullstyle/subscriptions","organizations_url":"https://api.github.com/users/nullstyle/orgs","repos_url":"https://api.github.com/users/nullstyle/repos","events_url":"https://api.github.com/users/nullstyle/events{/privacy}","received_events_url":"https://api.github.com/users/nullstyle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stellar/stex/labels/pr","name":"pr","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-29T19:51:38Z","updated_at":"2015-01-30T16:09:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stellar/stex/pulls/38","html_url":"https://github.com/stellar/stex/pull/38","diff_url":"https://github.com/stellar/stex/pull/38.diff","patch_url":"https://github.com/stellar/stex/pull/38.patch"},"body":"This PR changes the autoload order from \"controller then models\" to \"models then controllers\".  It allows us to more easily use models in our controllers by allowing us to do the following at any location in the controller js file:\r\n\r\n```javascript\r\n\r\nlet { User, Invite } = stex.models;\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/stellar/stex/issues/comments/72224686","html_url":"https://github.com/stellar/stex/pull/38#issuecomment-72224686","issue_url":"https://api.github.com/repos/stellar/stex/issues/38","id":72224686,"user":{"login":"nullstyle","id":366,"avatar_url":"https://avatars.githubusercontent.com/u/366?v=3","gravatar_id":"","url":"https://api.github.com/users/nullstyle","html_url":"https://github.com/nullstyle","followers_url":"https://api.github.com/users/nullstyle/followers","following_url":"https://api.github.com/users/nullstyle/following{/other_user}","gists_url":"https://api.github.com/users/nullstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/nullstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nullstyle/subscriptions","organizations_url":"https://api.github.com/users/nullstyle/orgs","repos_url":"https://api.github.com/users/nullstyle/repos","events_url":"https://api.github.com/users/nullstyle/events{/privacy}","received_events_url":"https://api.github.com/users/nullstyle/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T16:09:36Z","updated_at":"2015-01-30T16:09:36Z","body":"Sure, we could enable that form, although I'm not sure I like using the builder pattern if we want to include the dependencies prior to the work.  I'll think about it some more, and maybe we can get something implemented early next week."}}