{"action":"created","comment":{"url":"https://api.github.com/repos/andrewevans/summer/pulls/comments/69949928","id":69949928,"diff_hunk":"@@ -12,7 +12,7 @@ export default Ember.Route.extend({\n   model() {\n     return Ember.RSVP.hash({\n       member: this.modelFor('index').member,\n-      chapter: this.modelFor('index').chapter,\n+      chapter: this.modelFor('index/chapter').chapter,","path":"app/routes/index/chapter/results.js","position":5,"original_position":5,"commit_id":"25681089179bf4ecc2921cda88e01562f1765301","original_commit_id":"25681089179bf4ecc2921cda88e01562f1765301","user":{"login":"andrewevans","id":768749,"avatar_url":"https://avatars.githubusercontent.com/u/768749?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewevans","html_url":"https://github.com/andrewevans","followers_url":"https://api.github.com/users/andrewevans/followers","following_url":"https://api.github.com/users/andrewevans/following{/other_user}","gists_url":"https://api.github.com/users/andrewevans/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewevans/subscriptions","organizations_url":"https://api.github.com/users/andrewevans/orgs","repos_url":"https://api.github.com/users/andrewevans/repos","events_url":"https://api.github.com/users/andrewevans/events{/privacy}","received_events_url":"https://api.github.com/users/andrewevans/received_events","type":"User","site_admin":false},"body":"This was the actual error. You could have also used the route's chapter ID param to fetch the chapter here if you only wanted to fix the bug.","created_at":"2016-07-07T17:29:50Z","updated_at":"2016-07-07T17:29:50Z","html_url":"https://github.com/andrewevans/summer/pull/31#discussion_r69949928","pull_request_url":"https://api.github.com/repos/andrewevans/summer/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/andrewevans/summer/pulls/comments/69949928"},"html":{"href":"https://github.com/andrewevans/summer/pull/31#discussion_r69949928"},"pull_request":{"href":"https://api.github.com/repos/andrewevans/summer/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/andrewevans/summer/pulls/31","id":76634037,"html_url":"https://github.com/andrewevans/summer/pull/31","diff_url":"https://github.com/andrewevans/summer/pull/31.diff","patch_url":"https://github.com/andrewevans/summer/pull/31.patch","issue_url":"https://api.github.com/repos/andrewevans/summer/issues/31","number":31,"state":"open","locked":false,"title":"Move results into index.chapter route so that it has access to the ch…","user":{"login":"andrewevans","id":768749,"avatar_url":"https://avatars.githubusercontent.com/u/768749?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewevans","html_url":"https://github.com/andrewevans","followers_url":"https://api.github.com/users/andrewevans/followers","following_url":"https://api.github.com/users/andrewevans/following{/other_user}","gists_url":"https://api.github.com/users/andrewevans/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewevans/subscriptions","organizations_url":"https://api.github.com/users/andrewevans/orgs","repos_url":"https://api.github.com/users/andrewevans/repos","events_url":"https://api.github.com/users/andrewevans/events{/privacy}","received_events_url":"https://api.github.com/users/andrewevans/received_events","type":"User","site_admin":false},"body":"…apter model.\r\n\r\nThis bug caused terminating consequences to error because it could not reference chapter.id. This solution is also a good refactor because the 'results' are 'results of this chapter', not a general results.","created_at":"2016-07-07T17:26:09Z","updated_at":"2016-07-07T17:29:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b6b245edd72e7106eab2ebac7b89d5f6fce8957","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andrewevans/summer/pulls/31/commits","review_comments_url":"https://api.github.com/repos/andrewevans/summer/pulls/31/comments","review_comment_url":"https://api.github.com/repos/andrewevans/summer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andrewevans/summer/issues/31/comments","statuses_url":"https://api.github.com/repos/andrewevans/summer/statuses/25681089179bf4ecc2921cda88e01562f1765301","head":{"label":"andrewevans:fix/terminate-chapter","ref":"fix/terminate-chapter","sha":"25681089179bf4ecc2921cda88e01562f1765301","user":{"login":"andrewevans","id":768749,"avatar_url":"https://avatars.githubusercontent.com/u/768749?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewevans","html_url":"https://github.com/andrewevans","followers_url":"https://api.github.com/users/andrewevans/followers","following_url":"https://api.github.com/users/andrewevans/following{/other_user}","gists_url":"https://api.github.com/users/andrewevans/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewevans/subscriptions","organizations_url":"https://api.github.com/users/andrewevans/orgs","repos_url":"https://api.github.com/users/andrewevans/repos","events_url":"https://api.github.com/users/andrewevans/events{/privacy}","received_events_url":"https://api.github.com/users/andrewevans/received_events","type":"User","site_admin":false},"repo":{"id":60660344,"name":"summer","full_name":"andrewevans/summer","owner":{"login":"andrewevans","id":768749,"avatar_url":"https://avatars.githubusercontent.com/u/768749?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewevans","html_url":"https://github.com/andrewevans","followers_url":"https://api.github.com/users/andrewevans/followers","following_url":"https://api.github.com/users/andrewevans/following{/other_user}","gists_url":"https://api.github.com/users/andrewevans/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewevans/subscriptions","organizations_url":"https://api.github.com/users/andrewevans/orgs","repos_url":"https://api.github.com/users/andrewevans/repos","events_url":"https://api.github.com/users/andrewevans/events{/privacy}","received_events_url":"https://api.github.com/users/andrewevans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrewevans/summer","description":"","fork":false,"url":"https://api.github.com/repos/andrewevans/summer","forks_url":"https://api.github.com/repos/andrewevans/summer/forks","keys_url":"https://api.github.com/repos/andrewevans/summer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrewevans/summer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrewevans/summer/teams","hooks_url":"https://api.github.com/repos/andrewevans/summer/hooks","issue_events_url":"https://api.github.com/repos/andrewevans/summer/issues/events{/number}","events_url":"https://api.github.com/repos/andrewevans/summer/events","assignees_url":"https://api.github.com/repos/andrewevans/summer/assignees{/user}","branches_url":"https://api.github.com/repos/andrewevans/summer/branches{/branch}","tags_url":"https://api.github.com/repos/andrewevans/summer/tags","blobs_url":"https://api.github.com/repos/andrewevans/summer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrewevans/summer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrewevans/summer/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrewevans/summer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrewevans/summer/statuses/{sha}","languages_url":"https://api.github.com/repos/andrewevans/summer/languages","stargazers_url":"https://api.github.com/repos/andrewevans/summer/stargazers","contributors_url":"https://api.github.com/repos/andrewevans/summer/contributors","subscribers_url":"https://api.github.com/repos/andrewevans/summer/subscribers","subscription_url":"https://api.github.com/repos/andrewevans/summer/subscription","commits_url":"https://api.github.com/repos/andrewevans/summer/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrewevans/summer/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrewevans/summer/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrewevans/summer/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrewevans/summer/contents/{+path}","compare_url":"https://api.github.com/repos/andrewevans/summer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrewevans/summer/merges","archive_url":"https://api.github.com/repos/andrewevans/summer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrewevans/summer/downloads","issues_url":"https://api.github.com/repos/andrewevans/summer/issues{/number}","pulls_url":"https://api.github.com/repos/andrewevans/summer/pulls{/number}","milestones_url":"https://api.github.com/repos/andrewevans/summer/milestones{/number}","notifications_url":"https://api.github.com/repos/andrewevans/summer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrewevans/summer/labels{/name}","releases_url":"https://api.github.com/repos/andrewevans/summer/releases{/id}","deployments_url":"https://api.github.com/repos/andrewevans/summer/deployments","created_at":"2016-06-08T01:57:33Z","updated_at":"2016-06-08T01:57:54Z","pushed_at":"2016-07-07T17:26:09Z","git_url":"git://github.com/andrewevans/summer.git","ssh_url":"git@github.com:andrewevans/summer.git","clone_url":"https://github.com/andrewevans/summer.git","svn_url":"https://github.com/andrewevans/summer","homepage":null,"size":163,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"andrewevans:develop","ref":"develop","sha":"7c56c9e437cbe76bc661171ae24b808dcdcb7c4c","user":{"login":"andrewevans","id":768749,"avatar_url":"https://avatars.githubusercontent.com/u/768749?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewevans","html_url":"https://github.com/andrewevans","followers_url":"https://api.github.com/users/andrewevans/followers","following_url":"https://api.github.com/users/andrewevans/following{/other_user}","gists_url":"https://api.github.com/users/andrewevans/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewevans/subscriptions","organizations_url":"https://api.github.com/users/andrewevans/orgs","repos_url":"https://api.github.com/users/andrewevans/repos","events_url":"https://api.github.com/users/andrewevans/events{/privacy}","received_events_url":"https://api.github.com/users/andrewevans/received_events","type":"User","site_admin":false},"repo":{"id":60660344,"name":"summer","full_name":"andrewevans/summer","owner":{"login":"andrewevans","id":768749,"avatar_url":"https://avatars.githubusercontent.com/u/768749?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewevans","html_url":"https://github.com/andrewevans","followers_url":"https://api.github.com/users/andrewevans/followers","following_url":"https://api.github.com/users/andrewevans/following{/other_user}","gists_url":"https://api.github.com/users/andrewevans/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewevans/subscriptions","organizations_url":"https://api.github.com/users/andrewevans/orgs","repos_url":"https://api.github.com/users/andrewevans/repos","events_url":"https://api.github.com/users/andrewevans/events{/privacy}","received_events_url":"https://api.github.com/users/andrewevans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrewevans/summer","description":"","fork":false,"url":"https://api.github.com/repos/andrewevans/summer","forks_url":"https://api.github.com/repos/andrewevans/summer/forks","keys_url":"https://api.github.com/repos/andrewevans/summer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrewevans/summer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrewevans/summer/teams","hooks_url":"https://api.github.com/repos/andrewevans/summer/hooks","issue_events_url":"https://api.github.com/repos/andrewevans/summer/issues/events{/number}","events_url":"https://api.github.com/repos/andrewevans/summer/events","assignees_url":"https://api.github.com/repos/andrewevans/summer/assignees{/user}","branches_url":"https://api.github.com/repos/andrewevans/summer/branches{/branch}","tags_url":"https://api.github.com/repos/andrewevans/summer/tags","blobs_url":"https://api.github.com/repos/andrewevans/summer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrewevans/summer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrewevans/summer/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrewevans/summer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrewevans/summer/statuses/{sha}","languages_url":"https://api.github.com/repos/andrewevans/summer/languages","stargazers_url":"https://api.github.com/repos/andrewevans/summer/stargazers","contributors_url":"https://api.github.com/repos/andrewevans/summer/contributors","subscribers_url":"https://api.github.com/repos/andrewevans/summer/subscribers","subscription_url":"https://api.github.com/repos/andrewevans/summer/subscription","commits_url":"https://api.github.com/repos/andrewevans/summer/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrewevans/summer/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrewevans/summer/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrewevans/summer/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrewevans/summer/contents/{+path}","compare_url":"https://api.github.com/repos/andrewevans/summer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrewevans/summer/merges","archive_url":"https://api.github.com/repos/andrewevans/summer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrewevans/summer/downloads","issues_url":"https://api.github.com/repos/andrewevans/summer/issues{/number}","pulls_url":"https://api.github.com/repos/andrewevans/summer/pulls{/number}","milestones_url":"https://api.github.com/repos/andrewevans/summer/milestones{/number}","notifications_url":"https://api.github.com/repos/andrewevans/summer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrewevans/summer/labels{/name}","releases_url":"https://api.github.com/repos/andrewevans/summer/releases{/id}","deployments_url":"https://api.github.com/repos/andrewevans/summer/deployments","created_at":"2016-06-08T01:57:33Z","updated_at":"2016-06-08T01:57:54Z","pushed_at":"2016-07-07T17:26:09Z","git_url":"git://github.com/andrewevans/summer.git","ssh_url":"git@github.com:andrewevans/summer.git","clone_url":"https://github.com/andrewevans/summer.git","svn_url":"https://github.com/andrewevans/summer","homepage":null,"size":163,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andrewevans/summer/pulls/31"},"html":{"href":"https://github.com/andrewevans/summer/pull/31"},"issue":{"href":"https://api.github.com/repos/andrewevans/summer/issues/31"},"comments":{"href":"https://api.github.com/repos/andrewevans/summer/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/andrewevans/summer/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/andrewevans/summer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andrewevans/summer/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/andrewevans/summer/statuses/25681089179bf4ecc2921cda88e01562f1765301"}}}}
{"actor":{"display_login":"andrewevans"}}