{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_210/pulls/comments/87956518","pull_request_review_id":8545022,"id":87956518,"diff_hunk":"@@ -0,0 +1,116 @@\n+<?php\n+\n+namespace App\\Http\\Controllers;\n+\n+use Illuminate\\Http\\Request;\n+\n+use App\\Http\\Requests;\n+use App\\Word;\n+use App\\Category;\n+use Auth;\n+\n+class WordController extends Controller\n+{\n+    protected $word;\n+    protected $category;\n+\n+    /**\n+     * WordController constructor.\n+     * @param Word $word\n+     * @param Category $category\n+     */\n+    public function __construct(Word $word, Category $category) {\n+        $this->word = $word;\n+        $this->category = $category;\n+    }\n+\n+    /**\n+     * Display a listing of the resource.\n+     * @param  \\Illuminate\\Http\\Request  $request\n+     * @return \\Illuminate\\Http\\Response\n+     */\n+    public function index(Request $request)\n+    {\n+        $user = Auth::user();\n+\n+        $learned = $request->get('learned');\n+\n+        $params = [\n+            'category_id' => $request->get('category'),\n+            'learned' => $request->get('learned'),","path":"app/Http/Controllers/WordController.php","position":40,"original_position":40,"commit_id":"6209bfe8090e09c3d0a63062674f7f60286fef67","original_commit_id":"6209bfe8090e09c3d0a63062674f7f60286fef67","user":{"login":"tranluan91","id":5018433,"avatar_url":"https://avatars.githubusercontent.com/u/5018433?v=3","gravatar_id":"","url":"https://api.github.com/users/tranluan91","html_url":"https://github.com/tranluan91","followers_url":"https://api.github.com/users/tranluan91/followers","following_url":"https://api.github.com/users/tranluan91/following{/other_user}","gists_url":"https://api.github.com/users/tranluan91/gists{/gist_id}","starred_url":"https://api.github.com/users/tranluan91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranluan91/subscriptions","organizations_url":"https://api.github.com/users/tranluan91/orgs","repos_url":"https://api.github.com/users/tranluan91/repos","events_url":"https://api.github.com/users/tranluan91/events{/privacy}","received_events_url":"https://api.github.com/users/tranluan91/received_events","type":"User","site_admin":false},"body":"bên trên e có biến $learned rồi thì dưới dùng luôn. K nên get thêm lần nữa","created_at":"2016-11-15T06:46:24Z","updated_at":"2016-11-15T06:47:13Z","html_url":"https://github.com/framgia/fels_210/pull/6#discussion_r87956518","pull_request_url":"https://api.github.com/repos/framgia/fels_210/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_210/pulls/comments/87956518"},"html":{"href":"https://github.com/framgia/fels_210/pull/6#discussion_r87956518"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_210/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_210/pulls/6","id":93529990,"html_url":"https://github.com/framgia/fels_210/pull/6","diff_url":"https://github.com/framgia/fels_210/pull/6.diff","patch_url":"https://github.com/framgia/fels_210/pull/6.patch","issue_url":"https://api.github.com/repos/framgia/fels_210/issues/6","number":6,"state":"open","locked":false,"title":"[User] words","user":{"login":"diephq","id":23204779,"avatar_url":"https://avatars.githubusercontent.com/u/23204779?v=3","gravatar_id":"","url":"https://api.github.com/users/diephq","html_url":"https://github.com/diephq","followers_url":"https://api.github.com/users/diephq/followers","following_url":"https://api.github.com/users/diephq/following{/other_user}","gists_url":"https://api.github.com/users/diephq/gists{/gist_id}","starred_url":"https://api.github.com/users/diephq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diephq/subscriptions","organizations_url":"https://api.github.com/users/diephq/orgs","repos_url":"https://api.github.com/users/diephq/repos","events_url":"https://api.github.com/users/diephq/events{/privacy}","received_events_url":"https://api.github.com/users/diephq/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-14T09:09:41Z","updated_at":"2016-11-15T06:47:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13748f0d008d4bd62535f495db92dc3e3cbbd222","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_210/pulls/6/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_210/pulls/6/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_210/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_210/issues/6/comments","statuses_url":"https://api.github.com/repos/framgia/fels_210/statuses/6209bfe8090e09c3d0a63062674f7f60286fef67","head":{"label":"diephq:word","ref":"word","sha":"6209bfe8090e09c3d0a63062674f7f60286fef67","user":{"login":"diephq","id":23204779,"avatar_url":"https://avatars.githubusercontent.com/u/23204779?v=3","gravatar_id":"","url":"https://api.github.com/users/diephq","html_url":"https://github.com/diephq","followers_url":"https://api.github.com/users/diephq/followers","following_url":"https://api.github.com/users/diephq/following{/other_user}","gists_url":"https://api.github.com/users/diephq/gists{/gist_id}","starred_url":"https://api.github.com/users/diephq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diephq/subscriptions","organizations_url":"https://api.github.com/users/diephq/orgs","repos_url":"https://api.github.com/users/diephq/repos","events_url":"https://api.github.com/users/diephq/events{/privacy}","received_events_url":"https://api.github.com/users/diephq/received_events","type":"User","site_admin":false},"repo":{"id":72628059,"name":"fels_210","full_name":"diephq/fels_210","owner":{"login":"diephq","id":23204779,"avatar_url":"https://avatars.githubusercontent.com/u/23204779?v=3","gravatar_id":"","url":"https://api.github.com/users/diephq","html_url":"https://github.com/diephq","followers_url":"https://api.github.com/users/diephq/followers","following_url":"https://api.github.com/users/diephq/following{/other_user}","gists_url":"https://api.github.com/users/diephq/gists{/gist_id}","starred_url":"https://api.github.com/users/diephq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diephq/subscriptions","organizations_url":"https://api.github.com/users/diephq/orgs","repos_url":"https://api.github.com/users/diephq/repos","events_url":"https://api.github.com/users/diephq/events{/privacy}","received_events_url":"https://api.github.com/users/diephq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/diephq/fels_210","description":"Framgia Edu DN - Training Project","fork":true,"url":"https://api.github.com/repos/diephq/fels_210","forks_url":"https://api.github.com/repos/diephq/fels_210/forks","keys_url":"https://api.github.com/repos/diephq/fels_210/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diephq/fels_210/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diephq/fels_210/teams","hooks_url":"https://api.github.com/repos/diephq/fels_210/hooks","issue_events_url":"https://api.github.com/repos/diephq/fels_210/issues/events{/number}","events_url":"https://api.github.com/repos/diephq/fels_210/events","assignees_url":"https://api.github.com/repos/diephq/fels_210/assignees{/user}","branches_url":"https://api.github.com/repos/diephq/fels_210/branches{/branch}","tags_url":"https://api.github.com/repos/diephq/fels_210/tags","blobs_url":"https://api.github.com/repos/diephq/fels_210/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diephq/fels_210/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diephq/fels_210/git/refs{/sha}","trees_url":"https://api.github.com/repos/diephq/fels_210/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diephq/fels_210/statuses/{sha}","languages_url":"https://api.github.com/repos/diephq/fels_210/languages","stargazers_url":"https://api.github.com/repos/diephq/fels_210/stargazers","contributors_url":"https://api.github.com/repos/diephq/fels_210/contributors","subscribers_url":"https://api.github.com/repos/diephq/fels_210/subscribers","subscription_url":"https://api.github.com/repos/diephq/fels_210/subscription","commits_url":"https://api.github.com/repos/diephq/fels_210/commits{/sha}","git_commits_url":"https://api.github.com/repos/diephq/fels_210/git/commits{/sha}","comments_url":"https://api.github.com/repos/diephq/fels_210/comments{/number}","issue_comment_url":"https://api.github.com/repos/diephq/fels_210/issues/comments{/number}","contents_url":"https://api.github.com/repos/diephq/fels_210/contents/{+path}","compare_url":"https://api.github.com/repos/diephq/fels_210/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diephq/fels_210/merges","archive_url":"https://api.github.com/repos/diephq/fels_210/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diephq/fels_210/downloads","issues_url":"https://api.github.com/repos/diephq/fels_210/issues{/number}","pulls_url":"https://api.github.com/repos/diephq/fels_210/pulls{/number}","milestones_url":"https://api.github.com/repos/diephq/fels_210/milestones{/number}","notifications_url":"https://api.github.com/repos/diephq/fels_210/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diephq/fels_210/labels{/name}","releases_url":"https://api.github.com/repos/diephq/fels_210/releases{/id}","deployments_url":"https://api.github.com/repos/diephq/fels_210/deployments","created_at":"2016-11-02T10:15:36Z","updated_at":"2016-11-15T01:06:07Z","pushed_at":"2016-11-15T06:43:23Z","git_url":"git://github.com/diephq/fels_210.git","ssh_url":"git@github.com:diephq/fels_210.git","clone_url":"https://github.com/diephq/fels_210.git","svn_url":"https://github.com/diephq/fels_210","homepage":null,"size":181,"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":"b9bc1ae6ec4f42375e55941ca31b3229182c9ed1","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":72595167,"name":"fels_210","full_name":"framgia/fels_210","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_210","description":"Framgia Edu DN - Training Project","fork":false,"url":"https://api.github.com/repos/framgia/fels_210","forks_url":"https://api.github.com/repos/framgia/fels_210/forks","keys_url":"https://api.github.com/repos/framgia/fels_210/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_210/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_210/teams","hooks_url":"https://api.github.com/repos/framgia/fels_210/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_210/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_210/events","assignees_url":"https://api.github.com/repos/framgia/fels_210/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_210/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_210/tags","blobs_url":"https://api.github.com/repos/framgia/fels_210/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_210/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_210/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_210/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_210/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_210/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_210/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_210/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_210/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_210/subscription","commits_url":"https://api.github.com/repos/framgia/fels_210/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_210/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_210/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_210/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_210/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_210/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_210/merges","archive_url":"https://api.github.com/repos/framgia/fels_210/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_210/downloads","issues_url":"https://api.github.com/repos/framgia/fels_210/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_210/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_210/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_210/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_210/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_210/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_210/deployments","created_at":"2016-11-02T02:12:13Z","updated_at":"2016-11-02T02:12:57Z","pushed_at":"2016-11-15T06:43:23Z","git_url":"git://github.com/framgia/fels_210.git","ssh_url":"git@github.com:framgia/fels_210.git","clone_url":"https://github.com/framgia/fels_210.git","svn_url":"https://github.com/framgia/fels_210","homepage":null,"size":78,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_210/pulls/6"},"html":{"href":"https://github.com/framgia/fels_210/pull/6"},"issue":{"href":"https://api.github.com/repos/framgia/fels_210/issues/6"},"comments":{"href":"https://api.github.com/repos/framgia/fels_210/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_210/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_210/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_210/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_210/statuses/6209bfe8090e09c3d0a63062674f7f60286fef67"}}}}
{"actor":{"display_login":"tranluan91"}}