{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_42/pulls/comments/46676808","id":46676808,"diff_hunk":"@@ -10,4 +10,8 @@ public function subjects()\n     {\n         return $this->belongsToMany('App\\Subject');\n     }\n+    public function subjectsWithTasks()","path":"app/Course.php","position":4,"original_position":4,"commit_id":"b09f80bdd7e429c08c42a7eb967666c8b2ad87b3","original_commit_id":"b09f80bdd7e429c08c42a7eb967666c8b2ad87b3","user":{"login":"dinhhoanglong91","id":1893820,"avatar_url":"https://avatars.githubusercontent.com/u/1893820?v=3","gravatar_id":"","url":"https://api.github.com/users/dinhhoanglong91","html_url":"https://github.com/dinhhoanglong91","followers_url":"https://api.github.com/users/dinhhoanglong91/followers","following_url":"https://api.github.com/users/dinhhoanglong91/following{/other_user}","gists_url":"https://api.github.com/users/dinhhoanglong91/gists{/gist_id}","starred_url":"https://api.github.com/users/dinhhoanglong91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinhhoanglong91/subscriptions","organizations_url":"https://api.github.com/users/dinhhoanglong91/orgs","repos_url":"https://api.github.com/users/dinhhoanglong91/repos","events_url":"https://api.github.com/users/dinhhoanglong91/events{/privacy}","received_events_url":"https://api.github.com/users/dinhhoanglong91/received_events","type":"User","site_admin":false},"body":"  We don't need it","created_at":"2015-12-04T12:25:55Z","updated_at":"2015-12-04T12:25:55Z","html_url":"https://github.com/framgia/tms_42/pull/13#discussion_r46676808","pull_request_url":"https://api.github.com/repos/framgia/tms_42/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_42/pulls/comments/46676808"},"html":{"href":"https://github.com/framgia/tms_42/pull/13#discussion_r46676808"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_42/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_42/pulls/13","id":52642481,"html_url":"https://github.com/framgia/tms_42/pull/13","diff_url":"https://github.com/framgia/tms_42/pull/13.diff","patch_url":"https://github.com/framgia/tms_42/pull/13.patch","issue_url":"https://api.github.com/repos/framgia/tms_42/issues/13","number":13,"state":"open","locked":false,"title":"47657_supervisor_view_course_details","user":{"login":"yasin-buet","id":15029067,"avatar_url":"https://avatars.githubusercontent.com/u/15029067?v=3","gravatar_id":"","url":"https://api.github.com/users/yasin-buet","html_url":"https://github.com/yasin-buet","followers_url":"https://api.github.com/users/yasin-buet/followers","following_url":"https://api.github.com/users/yasin-buet/following{/other_user}","gists_url":"https://api.github.com/users/yasin-buet/gists{/gist_id}","starred_url":"https://api.github.com/users/yasin-buet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasin-buet/subscriptions","organizations_url":"https://api.github.com/users/yasin-buet/orgs","repos_url":"https://api.github.com/users/yasin-buet/repos","events_url":"https://api.github.com/users/yasin-buet/events{/privacy}","received_events_url":"https://api.github.com/users/yasin-buet/received_events","type":"User","site_admin":false},"body":"![screenshot from 2015-12-04 14 36 47](https://cloud.githubusercontent.com/assets/15029067/11585225/a101777a-9a94-11e5-951e-fec8ecd32977.png)\r\n![screenshot from 2015-12-04 16 18 39](https://cloud.githubusercontent.com/assets/15029067/11587392/3deb571e-9aa3-11e5-8b10-3022bc4484e8.png)\r\n\r\n","created_at":"2015-12-04T08:38:54Z","updated_at":"2015-12-04T12:25:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8bea0eee6111814fa9c3c36b498b83db90598817","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_42/pulls/13/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_42/pulls/13/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_42/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/tms_42/issues/13/comments","statuses_url":"https://api.github.com/repos/framgia/tms_42/statuses/b09f80bdd7e429c08c42a7eb967666c8b2ad87b3","head":{"label":"yasin-buet:47657_supervisor_view_course_details","ref":"47657_supervisor_view_course_details","sha":"b09f80bdd7e429c08c42a7eb967666c8b2ad87b3","user":{"login":"yasin-buet","id":15029067,"avatar_url":"https://avatars.githubusercontent.com/u/15029067?v=3","gravatar_id":"","url":"https://api.github.com/users/yasin-buet","html_url":"https://github.com/yasin-buet","followers_url":"https://api.github.com/users/yasin-buet/followers","following_url":"https://api.github.com/users/yasin-buet/following{/other_user}","gists_url":"https://api.github.com/users/yasin-buet/gists{/gist_id}","starred_url":"https://api.github.com/users/yasin-buet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasin-buet/subscriptions","organizations_url":"https://api.github.com/users/yasin-buet/orgs","repos_url":"https://api.github.com/users/yasin-buet/repos","events_url":"https://api.github.com/users/yasin-buet/events{/privacy}","received_events_url":"https://api.github.com/users/yasin-buet/received_events","type":"User","site_admin":false},"repo":{"id":47099354,"name":"tms_42","full_name":"yasin-buet/tms_42","owner":{"login":"yasin-buet","id":15029067,"avatar_url":"https://avatars.githubusercontent.com/u/15029067?v=3","gravatar_id":"","url":"https://api.github.com/users/yasin-buet","html_url":"https://github.com/yasin-buet","followers_url":"https://api.github.com/users/yasin-buet/followers","following_url":"https://api.github.com/users/yasin-buet/following{/other_user}","gists_url":"https://api.github.com/users/yasin-buet/gists{/gist_id}","starred_url":"https://api.github.com/users/yasin-buet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasin-buet/subscriptions","organizations_url":"https://api.github.com/users/yasin-buet/orgs","repos_url":"https://api.github.com/users/yasin-buet/repos","events_url":"https://api.github.com/users/yasin-buet/events{/privacy}","received_events_url":"https://api.github.com/users/yasin-buet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yasin-buet/tms_42","description":"Framgia Training Management System (training)","fork":true,"url":"https://api.github.com/repos/yasin-buet/tms_42","forks_url":"https://api.github.com/repos/yasin-buet/tms_42/forks","keys_url":"https://api.github.com/repos/yasin-buet/tms_42/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yasin-buet/tms_42/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yasin-buet/tms_42/teams","hooks_url":"https://api.github.com/repos/yasin-buet/tms_42/hooks","issue_events_url":"https://api.github.com/repos/yasin-buet/tms_42/issues/events{/number}","events_url":"https://api.github.com/repos/yasin-buet/tms_42/events","assignees_url":"https://api.github.com/repos/yasin-buet/tms_42/assignees{/user}","branches_url":"https://api.github.com/repos/yasin-buet/tms_42/branches{/branch}","tags_url":"https://api.github.com/repos/yasin-buet/tms_42/tags","blobs_url":"https://api.github.com/repos/yasin-buet/tms_42/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yasin-buet/tms_42/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yasin-buet/tms_42/git/refs{/sha}","trees_url":"https://api.github.com/repos/yasin-buet/tms_42/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yasin-buet/tms_42/statuses/{sha}","languages_url":"https://api.github.com/repos/yasin-buet/tms_42/languages","stargazers_url":"https://api.github.com/repos/yasin-buet/tms_42/stargazers","contributors_url":"https://api.github.com/repos/yasin-buet/tms_42/contributors","subscribers_url":"https://api.github.com/repos/yasin-buet/tms_42/subscribers","subscription_url":"https://api.github.com/repos/yasin-buet/tms_42/subscription","commits_url":"https://api.github.com/repos/yasin-buet/tms_42/commits{/sha}","git_commits_url":"https://api.github.com/repos/yasin-buet/tms_42/git/commits{/sha}","comments_url":"https://api.github.com/repos/yasin-buet/tms_42/comments{/number}","issue_comment_url":"https://api.github.com/repos/yasin-buet/tms_42/issues/comments{/number}","contents_url":"https://api.github.com/repos/yasin-buet/tms_42/contents/{+path}","compare_url":"https://api.github.com/repos/yasin-buet/tms_42/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yasin-buet/tms_42/merges","archive_url":"https://api.github.com/repos/yasin-buet/tms_42/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yasin-buet/tms_42/downloads","issues_url":"https://api.github.com/repos/yasin-buet/tms_42/issues{/number}","pulls_url":"https://api.github.com/repos/yasin-buet/tms_42/pulls{/number}","milestones_url":"https://api.github.com/repos/yasin-buet/tms_42/milestones{/number}","notifications_url":"https://api.github.com/repos/yasin-buet/tms_42/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yasin-buet/tms_42/labels{/name}","releases_url":"https://api.github.com/repos/yasin-buet/tms_42/releases{/id}","created_at":"2015-11-30T06:25:09Z","updated_at":"2015-11-30T04:36:51Z","pushed_at":"2015-12-04T12:05:04Z","git_url":"git://github.com/yasin-buet/tms_42.git","ssh_url":"git@github.com:yasin-buet/tms_42.git","clone_url":"https://github.com/yasin-buet/tms_42.git","svn_url":"https://github.com/yasin-buet/tms_42","homepage":null,"size":640,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"4cbdf801f760e1c64d91819f9bc19c8a45f93197","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":47095499,"name":"tms_42","full_name":"framgia/tms_42","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/tms_42","description":"Framgia Training Management System (training)","fork":false,"url":"https://api.github.com/repos/framgia/tms_42","forks_url":"https://api.github.com/repos/framgia/tms_42/forks","keys_url":"https://api.github.com/repos/framgia/tms_42/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_42/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_42/teams","hooks_url":"https://api.github.com/repos/framgia/tms_42/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_42/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_42/events","assignees_url":"https://api.github.com/repos/framgia/tms_42/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_42/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_42/tags","blobs_url":"https://api.github.com/repos/framgia/tms_42/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_42/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_42/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_42/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_42/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_42/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_42/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_42/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_42/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_42/subscription","commits_url":"https://api.github.com/repos/framgia/tms_42/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_42/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_42/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_42/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/tms_42/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_42/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_42/merges","archive_url":"https://api.github.com/repos/framgia/tms_42/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_42/downloads","issues_url":"https://api.github.com/repos/framgia/tms_42/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_42/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_42/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_42/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_42/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_42/releases{/id}","created_at":"2015-11-30T04:36:51Z","updated_at":"2015-11-30T04:36:51Z","pushed_at":"2015-12-04T12:05:04Z","git_url":"git://github.com/framgia/tms_42.git","ssh_url":"git@github.com:framgia/tms_42.git","clone_url":"https://github.com/framgia/tms_42.git","svn_url":"https://github.com/framgia/tms_42","homepage":null,"size":6638,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_42/pulls/13"},"html":{"href":"https://github.com/framgia/tms_42/pull/13"},"issue":{"href":"https://api.github.com/repos/framgia/tms_42/issues/13"},"comments":{"href":"https://api.github.com/repos/framgia/tms_42/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_42/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_42/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_42/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_42/statuses/b09f80bdd7e429c08c42a7eb967666c8b2ad87b3"}}}}