{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_225/pulls/comments/94119383","pull_request_review_id":14649706,"id":94119383,"diff_hunk":"@@ -0,0 +1,20 @@\n+<?php\n+\n+namespace App\\Http\\Controllers\\Web;\n+\n+use Illuminate\\Http\\Request;\n+use App\\Http\\Controllers\\Controller;\n+use App\\Models\\Category;\n+use App\\Models\\Word;\n+\n+class CategoriesController extends Controller\n+{\n+    public function index()\n+    {\n+        //$categories = Category::with('words')->get();","path":"app/Http/Controllers/Web/CategoriesController.php","position":14,"original_position":14,"commit_id":"0dd36753776a7b1f1b92b7a20989639b41bab284","original_commit_id":"0dd36753776a7b1f1b92b7a20989639b41bab284","user":{"login":"tuanpht","id":21072956,"avatar_url":"https://avatars.githubusercontent.com/u/21072956?v=3","gravatar_id":"","url":"https://api.github.com/users/tuanpht","html_url":"https://github.com/tuanpht","followers_url":"https://api.github.com/users/tuanpht/followers","following_url":"https://api.github.com/users/tuanpht/following{/other_user}","gists_url":"https://api.github.com/users/tuanpht/gists{/gist_id}","starred_url":"https://api.github.com/users/tuanpht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuanpht/subscriptions","organizations_url":"https://api.github.com/users/tuanpht/orgs","repos_url":"https://api.github.com/users/tuanpht/repos","events_url":"https://api.github.com/users/tuanpht/events{/privacy}","received_events_url":"https://api.github.com/users/tuanpht/received_events","type":"User","site_admin":false},"body":"remove comment","created_at":"2016-12-29T09:59:40Z","updated_at":"2016-12-29T09:59:40Z","html_url":"https://github.com/framgia/fels_225/pull/9#discussion_r94119383","pull_request_url":"https://api.github.com/repos/framgia/fels_225/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_225/pulls/comments/94119383"},"html":{"href":"https://github.com/framgia/fels_225/pull/9#discussion_r94119383"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_225/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_225/pulls/9","id":99618482,"html_url":"https://github.com/framgia/fels_225/pull/9","diff_url":"https://github.com/framgia/fels_225/pull/9.diff","patch_url":"https://github.com/framgia/fels_225/pull/9.patch","issue_url":"https://api.github.com/repos/framgia/fels_225/issues/9","number":9,"state":"open","locked":false,"title":"choose a course to learn","user":{"login":"hieuUET2395","id":15783490,"avatar_url":"https://avatars.githubusercontent.com/u/15783490?v=3","gravatar_id":"","url":"https://api.github.com/users/hieuUET2395","html_url":"https://github.com/hieuUET2395","followers_url":"https://api.github.com/users/hieuUET2395/followers","following_url":"https://api.github.com/users/hieuUET2395/following{/other_user}","gists_url":"https://api.github.com/users/hieuUET2395/gists{/gist_id}","starred_url":"https://api.github.com/users/hieuUET2395/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hieuUET2395/subscriptions","organizations_url":"https://api.github.com/users/hieuUET2395/orgs","repos_url":"https://api.github.com/users/hieuUET2395/repos","events_url":"https://api.github.com/users/hieuUET2395/events{/privacy}","received_events_url":"https://api.github.com/users/hieuUET2395/received_events","type":"User","site_admin":false},"body":"- View categories list with learned word of each category\r\n- Choose a course to learn","created_at":"2016-12-29T04:54:40Z","updated_at":"2016-12-29T09:59:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8272e231d1d72e1d2a9995622f0d53476a95a7f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_225/pulls/9/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_225/pulls/9/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_225/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_225/issues/9/comments","statuses_url":"https://api.github.com/repos/framgia/fels_225/statuses/0dd36753776a7b1f1b92b7a20989639b41bab284","head":{"label":"hieuUET2395:view_categories","ref":"view_categories","sha":"0dd36753776a7b1f1b92b7a20989639b41bab284","user":{"login":"hieuUET2395","id":15783490,"avatar_url":"https://avatars.githubusercontent.com/u/15783490?v=3","gravatar_id":"","url":"https://api.github.com/users/hieuUET2395","html_url":"https://github.com/hieuUET2395","followers_url":"https://api.github.com/users/hieuUET2395/followers","following_url":"https://api.github.com/users/hieuUET2395/following{/other_user}","gists_url":"https://api.github.com/users/hieuUET2395/gists{/gist_id}","starred_url":"https://api.github.com/users/hieuUET2395/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hieuUET2395/subscriptions","organizations_url":"https://api.github.com/users/hieuUET2395/orgs","repos_url":"https://api.github.com/users/hieuUET2395/repos","events_url":"https://api.github.com/users/hieuUET2395/events{/privacy}","received_events_url":"https://api.github.com/users/hieuUET2395/received_events","type":"User","site_admin":false},"repo":{"id":76918190,"name":"fels_225","full_name":"hieuUET2395/fels_225","owner":{"login":"hieuUET2395","id":15783490,"avatar_url":"https://avatars.githubusercontent.com/u/15783490?v=3","gravatar_id":"","url":"https://api.github.com/users/hieuUET2395","html_url":"https://github.com/hieuUET2395","followers_url":"https://api.github.com/users/hieuUET2395/followers","following_url":"https://api.github.com/users/hieuUET2395/following{/other_user}","gists_url":"https://api.github.com/users/hieuUET2395/gists{/gist_id}","starred_url":"https://api.github.com/users/hieuUET2395/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hieuUET2395/subscriptions","organizations_url":"https://api.github.com/users/hieuUET2395/orgs","repos_url":"https://api.github.com/users/hieuUET2395/repos","events_url":"https://api.github.com/users/hieuUET2395/events{/privacy}","received_events_url":"https://api.github.com/users/hieuUET2395/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hieuUET2395/fels_225","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/hieuUET2395/fels_225","forks_url":"https://api.github.com/repos/hieuUET2395/fels_225/forks","keys_url":"https://api.github.com/repos/hieuUET2395/fels_225/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hieuUET2395/fels_225/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hieuUET2395/fels_225/teams","hooks_url":"https://api.github.com/repos/hieuUET2395/fels_225/hooks","issue_events_url":"https://api.github.com/repos/hieuUET2395/fels_225/issues/events{/number}","events_url":"https://api.github.com/repos/hieuUET2395/fels_225/events","assignees_url":"https://api.github.com/repos/hieuUET2395/fels_225/assignees{/user}","branches_url":"https://api.github.com/repos/hieuUET2395/fels_225/branches{/branch}","tags_url":"https://api.github.com/repos/hieuUET2395/fels_225/tags","blobs_url":"https://api.github.com/repos/hieuUET2395/fels_225/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hieuUET2395/fels_225/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hieuUET2395/fels_225/git/refs{/sha}","trees_url":"https://api.github.com/repos/hieuUET2395/fels_225/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hieuUET2395/fels_225/statuses/{sha}","languages_url":"https://api.github.com/repos/hieuUET2395/fels_225/languages","stargazers_url":"https://api.github.com/repos/hieuUET2395/fels_225/stargazers","contributors_url":"https://api.github.com/repos/hieuUET2395/fels_225/contributors","subscribers_url":"https://api.github.com/repos/hieuUET2395/fels_225/subscribers","subscription_url":"https://api.github.com/repos/hieuUET2395/fels_225/subscription","commits_url":"https://api.github.com/repos/hieuUET2395/fels_225/commits{/sha}","git_commits_url":"https://api.github.com/repos/hieuUET2395/fels_225/git/commits{/sha}","comments_url":"https://api.github.com/repos/hieuUET2395/fels_225/comments{/number}","issue_comment_url":"https://api.github.com/repos/hieuUET2395/fels_225/issues/comments{/number}","contents_url":"https://api.github.com/repos/hieuUET2395/fels_225/contents/{+path}","compare_url":"https://api.github.com/repos/hieuUET2395/fels_225/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hieuUET2395/fels_225/merges","archive_url":"https://api.github.com/repos/hieuUET2395/fels_225/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hieuUET2395/fels_225/downloads","issues_url":"https://api.github.com/repos/hieuUET2395/fels_225/issues{/number}","pulls_url":"https://api.github.com/repos/hieuUET2395/fels_225/pulls{/number}","milestones_url":"https://api.github.com/repos/hieuUET2395/fels_225/milestones{/number}","notifications_url":"https://api.github.com/repos/hieuUET2395/fels_225/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hieuUET2395/fels_225/labels{/name}","releases_url":"https://api.github.com/repos/hieuUET2395/fels_225/releases{/id}","deployments_url":"https://api.github.com/repos/hieuUET2395/fels_225/deployments","created_at":"2016-12-20T03:07:26Z","updated_at":"2016-12-19T04:34:19Z","pushed_at":"2016-12-29T09:54:57Z","git_url":"git://github.com/hieuUET2395/fels_225.git","ssh_url":"git@github.com:hieuUET2395/fels_225.git","clone_url":"https://github.com/hieuUET2395/fels_225.git","svn_url":"https://github.com/hieuUET2395/fels_225","homepage":null,"size":237,"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":"d66cee6461ce9587d16ad82521a253ea6a0116ab","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":76828333,"name":"fels_225","full_name":"framgia/fels_225","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/fels_225","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_225","forks_url":"https://api.github.com/repos/framgia/fels_225/forks","keys_url":"https://api.github.com/repos/framgia/fels_225/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_225/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_225/teams","hooks_url":"https://api.github.com/repos/framgia/fels_225/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_225/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_225/events","assignees_url":"https://api.github.com/repos/framgia/fels_225/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_225/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_225/tags","blobs_url":"https://api.github.com/repos/framgia/fels_225/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_225/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_225/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_225/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_225/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_225/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_225/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_225/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_225/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_225/subscription","commits_url":"https://api.github.com/repos/framgia/fels_225/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_225/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_225/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_225/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_225/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_225/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_225/merges","archive_url":"https://api.github.com/repos/framgia/fels_225/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_225/downloads","issues_url":"https://api.github.com/repos/framgia/fels_225/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_225/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_225/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_225/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_225/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_225/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_225/deployments","created_at":"2016-12-19T04:34:19Z","updated_at":"2016-12-19T04:34:19Z","pushed_at":"2016-12-29T09:54:58Z","git_url":"git://github.com/framgia/fels_225.git","ssh_url":"git@github.com:framgia/fels_225.git","clone_url":"https://github.com/framgia/fels_225.git","svn_url":"https://github.com/framgia/fels_225","homepage":null,"size":231,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_225/pulls/9"},"html":{"href":"https://github.com/framgia/fels_225/pull/9"},"issue":{"href":"https://api.github.com/repos/framgia/fels_225/issues/9"},"comments":{"href":"https://api.github.com/repos/framgia/fels_225/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_225/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_225/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_225/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_225/statuses/0dd36753776a7b1f1b92b7a20989639b41bab284"}}}}
{"actor":{"display_login":"tuanpht"}}