{"action":"created","comment":{"url":"https://api.github.com/repos/tanphatsolution/itshare/pulls/comments/76814603","id":76814603,"diff_hunk":"@@ -84,32 +84,34 @@ public function getTop($lang = null, $themeName = null)\n \n     public function getTopPage(Request $request, $locale = '')\n     {\n-        if (Auth::check()) {\n-            $seoLang = $request->get('lang', $locale);\n-            $posts = PostService::getPostFollowInWall(PostService::WALL_ALL, 0, PostService::SELECT_FILTER, $seoLang);\n-            \n-            foreach ($posts['class'] as $key => $class) {\n-                $posts['class'][$key] = $class . ($this->lang == ' ja' ? 'font-size-ja' : '');\n-            }\n-\n-            $this->viewData['populars'] = PostService::getPopularPosts(Post::POPULAR_POST_LIMIT_IN_POST_INDEX);","path":"app/Http/Controllers/HomeController.php","position":12,"original_position":12,"commit_id":"daf0c42a67c0ae32c3fee8e50958129411a9f467","original_commit_id":"daf0c42a67c0ae32c3fee8e50958129411a9f467","user":{"login":"phamkykhoi","id":8532305,"avatar_url":"https://avatars.githubusercontent.com/u/8532305?v=3","gravatar_id":"","url":"https://api.github.com/users/phamkykhoi","html_url":"https://github.com/phamkykhoi","followers_url":"https://api.github.com/users/phamkykhoi/followers","following_url":"https://api.github.com/users/phamkykhoi/following{/other_user}","gists_url":"https://api.github.com/users/phamkykhoi/gists{/gist_id}","starred_url":"https://api.github.com/users/phamkykhoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phamkykhoi/subscriptions","organizations_url":"https://api.github.com/users/phamkykhoi/orgs","repos_url":"https://api.github.com/users/phamkykhoi/repos","events_url":"https://api.github.com/users/phamkykhoi/events{/privacy}","received_events_url":"https://api.github.com/users/phamkykhoi/received_events","type":"User","site_admin":false},"body":"Đoạn code này em đừng xóa\r\nVì nó liên quan đến setting ngôn ngữ\r\nComment lại thôi","created_at":"2016-08-30T15:08:13Z","updated_at":"2016-08-30T15:08:13Z","html_url":"https://github.com/tanphatsolution/itshare/pull/1#discussion_r76814603","pull_request_url":"https://api.github.com/repos/tanphatsolution/itshare/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/tanphatsolution/itshare/pulls/comments/76814603"},"html":{"href":"https://github.com/tanphatsolution/itshare/pull/1#discussion_r76814603"},"pull_request":{"href":"https://api.github.com/repos/tanphatsolution/itshare/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/tanphatsolution/itshare/pulls/1","id":83289213,"html_url":"https://github.com/tanphatsolution/itshare/pull/1","diff_url":"https://github.com/tanphatsolution/itshare/pull/1.diff","patch_url":"https://github.com/tanphatsolution/itshare/pull/1.patch","issue_url":"https://api.github.com/repos/tanphatsolution/itshare/issues/1","number":1,"state":"open","locked":false,"title":"apply static home page","user":{"login":"xuanquynh","id":16967350,"avatar_url":"https://avatars.githubusercontent.com/u/16967350?v=3","gravatar_id":"","url":"https://api.github.com/users/xuanquynh","html_url":"https://github.com/xuanquynh","followers_url":"https://api.github.com/users/xuanquynh/followers","following_url":"https://api.github.com/users/xuanquynh/following{/other_user}","gists_url":"https://api.github.com/users/xuanquynh/gists{/gist_id}","starred_url":"https://api.github.com/users/xuanquynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuanquynh/subscriptions","organizations_url":"https://api.github.com/users/xuanquynh/orgs","repos_url":"https://api.github.com/users/xuanquynh/repos","events_url":"https://api.github.com/users/xuanquynh/events{/privacy}","received_events_url":"https://api.github.com/users/xuanquynh/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-30T15:05:50Z","updated_at":"2016-08-30T15:08:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60805b03908c982a2d926eab0b4976a80c40d959","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tanphatsolution/itshare/pulls/1/commits","review_comments_url":"https://api.github.com/repos/tanphatsolution/itshare/pulls/1/comments","review_comment_url":"https://api.github.com/repos/tanphatsolution/itshare/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tanphatsolution/itshare/issues/1/comments","statuses_url":"https://api.github.com/repos/tanphatsolution/itshare/statuses/daf0c42a67c0ae32c3fee8e50958129411a9f467","head":{"label":"xuanquynh:home","ref":"home","sha":"daf0c42a67c0ae32c3fee8e50958129411a9f467","user":{"login":"xuanquynh","id":16967350,"avatar_url":"https://avatars.githubusercontent.com/u/16967350?v=3","gravatar_id":"","url":"https://api.github.com/users/xuanquynh","html_url":"https://github.com/xuanquynh","followers_url":"https://api.github.com/users/xuanquynh/followers","following_url":"https://api.github.com/users/xuanquynh/following{/other_user}","gists_url":"https://api.github.com/users/xuanquynh/gists{/gist_id}","starred_url":"https://api.github.com/users/xuanquynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuanquynh/subscriptions","organizations_url":"https://api.github.com/users/xuanquynh/orgs","repos_url":"https://api.github.com/users/xuanquynh/repos","events_url":"https://api.github.com/users/xuanquynh/events{/privacy}","received_events_url":"https://api.github.com/users/xuanquynh/received_events","type":"User","site_admin":false},"repo":{"id":66664463,"name":"itshare","full_name":"xuanquynh/itshare","owner":{"login":"xuanquynh","id":16967350,"avatar_url":"https://avatars.githubusercontent.com/u/16967350?v=3","gravatar_id":"","url":"https://api.github.com/users/xuanquynh","html_url":"https://github.com/xuanquynh","followers_url":"https://api.github.com/users/xuanquynh/followers","following_url":"https://api.github.com/users/xuanquynh/following{/other_user}","gists_url":"https://api.github.com/users/xuanquynh/gists{/gist_id}","starred_url":"https://api.github.com/users/xuanquynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuanquynh/subscriptions","organizations_url":"https://api.github.com/users/xuanquynh/orgs","repos_url":"https://api.github.com/users/xuanquynh/repos","events_url":"https://api.github.com/users/xuanquynh/events{/privacy}","received_events_url":"https://api.github.com/users/xuanquynh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xuanquynh/itshare","description":null,"fork":true,"url":"https://api.github.com/repos/xuanquynh/itshare","forks_url":"https://api.github.com/repos/xuanquynh/itshare/forks","keys_url":"https://api.github.com/repos/xuanquynh/itshare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xuanquynh/itshare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xuanquynh/itshare/teams","hooks_url":"https://api.github.com/repos/xuanquynh/itshare/hooks","issue_events_url":"https://api.github.com/repos/xuanquynh/itshare/issues/events{/number}","events_url":"https://api.github.com/repos/xuanquynh/itshare/events","assignees_url":"https://api.github.com/repos/xuanquynh/itshare/assignees{/user}","branches_url":"https://api.github.com/repos/xuanquynh/itshare/branches{/branch}","tags_url":"https://api.github.com/repos/xuanquynh/itshare/tags","blobs_url":"https://api.github.com/repos/xuanquynh/itshare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xuanquynh/itshare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xuanquynh/itshare/git/refs{/sha}","trees_url":"https://api.github.com/repos/xuanquynh/itshare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xuanquynh/itshare/statuses/{sha}","languages_url":"https://api.github.com/repos/xuanquynh/itshare/languages","stargazers_url":"https://api.github.com/repos/xuanquynh/itshare/stargazers","contributors_url":"https://api.github.com/repos/xuanquynh/itshare/contributors","subscribers_url":"https://api.github.com/repos/xuanquynh/itshare/subscribers","subscription_url":"https://api.github.com/repos/xuanquynh/itshare/subscription","commits_url":"https://api.github.com/repos/xuanquynh/itshare/commits{/sha}","git_commits_url":"https://api.github.com/repos/xuanquynh/itshare/git/commits{/sha}","comments_url":"https://api.github.com/repos/xuanquynh/itshare/comments{/number}","issue_comment_url":"https://api.github.com/repos/xuanquynh/itshare/issues/comments{/number}","contents_url":"https://api.github.com/repos/xuanquynh/itshare/contents/{+path}","compare_url":"https://api.github.com/repos/xuanquynh/itshare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xuanquynh/itshare/merges","archive_url":"https://api.github.com/repos/xuanquynh/itshare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xuanquynh/itshare/downloads","issues_url":"https://api.github.com/repos/xuanquynh/itshare/issues{/number}","pulls_url":"https://api.github.com/repos/xuanquynh/itshare/pulls{/number}","milestones_url":"https://api.github.com/repos/xuanquynh/itshare/milestones{/number}","notifications_url":"https://api.github.com/repos/xuanquynh/itshare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xuanquynh/itshare/labels{/name}","releases_url":"https://api.github.com/repos/xuanquynh/itshare/releases{/id}","deployments_url":"https://api.github.com/repos/xuanquynh/itshare/deployments","created_at":"2016-08-26T16:53:38Z","updated_at":"2016-08-26T16:53:41Z","pushed_at":"2016-08-29T08:54:18Z","git_url":"git://github.com/xuanquynh/itshare.git","ssh_url":"git@github.com:xuanquynh/itshare.git","clone_url":"https://github.com/xuanquynh/itshare.git","svn_url":"https://github.com/xuanquynh/itshare","homepage":null,"size":55639,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"develop"}},"base":{"label":"tanphatsolution:develop","ref":"develop","sha":"032ccdcab7cc6cb7cfa0fefb9206434cb5eb7135","user":{"login":"tanphatsolution","id":20734327,"avatar_url":"https://avatars.githubusercontent.com/u/20734327?v=3","gravatar_id":"","url":"https://api.github.com/users/tanphatsolution","html_url":"https://github.com/tanphatsolution","followers_url":"https://api.github.com/users/tanphatsolution/followers","following_url":"https://api.github.com/users/tanphatsolution/following{/other_user}","gists_url":"https://api.github.com/users/tanphatsolution/gists{/gist_id}","starred_url":"https://api.github.com/users/tanphatsolution/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanphatsolution/subscriptions","organizations_url":"https://api.github.com/users/tanphatsolution/orgs","repos_url":"https://api.github.com/users/tanphatsolution/repos","events_url":"https://api.github.com/users/tanphatsolution/events{/privacy}","received_events_url":"https://api.github.com/users/tanphatsolution/received_events","type":"User","site_admin":false},"repo":{"id":66317220,"name":"itshare","full_name":"tanphatsolution/itshare","owner":{"login":"tanphatsolution","id":20734327,"avatar_url":"https://avatars.githubusercontent.com/u/20734327?v=3","gravatar_id":"","url":"https://api.github.com/users/tanphatsolution","html_url":"https://github.com/tanphatsolution","followers_url":"https://api.github.com/users/tanphatsolution/followers","following_url":"https://api.github.com/users/tanphatsolution/following{/other_user}","gists_url":"https://api.github.com/users/tanphatsolution/gists{/gist_id}","starred_url":"https://api.github.com/users/tanphatsolution/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanphatsolution/subscriptions","organizations_url":"https://api.github.com/users/tanphatsolution/orgs","repos_url":"https://api.github.com/users/tanphatsolution/repos","events_url":"https://api.github.com/users/tanphatsolution/events{/privacy}","received_events_url":"https://api.github.com/users/tanphatsolution/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tanphatsolution/itshare","description":null,"fork":false,"url":"https://api.github.com/repos/tanphatsolution/itshare","forks_url":"https://api.github.com/repos/tanphatsolution/itshare/forks","keys_url":"https://api.github.com/repos/tanphatsolution/itshare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tanphatsolution/itshare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tanphatsolution/itshare/teams","hooks_url":"https://api.github.com/repos/tanphatsolution/itshare/hooks","issue_events_url":"https://api.github.com/repos/tanphatsolution/itshare/issues/events{/number}","events_url":"https://api.github.com/repos/tanphatsolution/itshare/events","assignees_url":"https://api.github.com/repos/tanphatsolution/itshare/assignees{/user}","branches_url":"https://api.github.com/repos/tanphatsolution/itshare/branches{/branch}","tags_url":"https://api.github.com/repos/tanphatsolution/itshare/tags","blobs_url":"https://api.github.com/repos/tanphatsolution/itshare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tanphatsolution/itshare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tanphatsolution/itshare/git/refs{/sha}","trees_url":"https://api.github.com/repos/tanphatsolution/itshare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tanphatsolution/itshare/statuses/{sha}","languages_url":"https://api.github.com/repos/tanphatsolution/itshare/languages","stargazers_url":"https://api.github.com/repos/tanphatsolution/itshare/stargazers","contributors_url":"https://api.github.com/repos/tanphatsolution/itshare/contributors","subscribers_url":"https://api.github.com/repos/tanphatsolution/itshare/subscribers","subscription_url":"https://api.github.com/repos/tanphatsolution/itshare/subscription","commits_url":"https://api.github.com/repos/tanphatsolution/itshare/commits{/sha}","git_commits_url":"https://api.github.com/repos/tanphatsolution/itshare/git/commits{/sha}","comments_url":"https://api.github.com/repos/tanphatsolution/itshare/comments{/number}","issue_comment_url":"https://api.github.com/repos/tanphatsolution/itshare/issues/comments{/number}","contents_url":"https://api.github.com/repos/tanphatsolution/itshare/contents/{+path}","compare_url":"https://api.github.com/repos/tanphatsolution/itshare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tanphatsolution/itshare/merges","archive_url":"https://api.github.com/repos/tanphatsolution/itshare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tanphatsolution/itshare/downloads","issues_url":"https://api.github.com/repos/tanphatsolution/itshare/issues{/number}","pulls_url":"https://api.github.com/repos/tanphatsolution/itshare/pulls{/number}","milestones_url":"https://api.github.com/repos/tanphatsolution/itshare/milestones{/number}","notifications_url":"https://api.github.com/repos/tanphatsolution/itshare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tanphatsolution/itshare/labels{/name}","releases_url":"https://api.github.com/repos/tanphatsolution/itshare/releases{/id}","deployments_url":"https://api.github.com/repos/tanphatsolution/itshare/deployments","created_at":"2016-08-23T00:04:25Z","updated_at":"2016-08-23T00:04:25Z","pushed_at":"2016-08-30T15:05:50Z","git_url":"git://github.com/tanphatsolution/itshare.git","ssh_url":"git@github.com:tanphatsolution/itshare.git","clone_url":"https://github.com/tanphatsolution/itshare.git","svn_url":"https://github.com/tanphatsolution/itshare","homepage":null,"size":55634,"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":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/tanphatsolution/itshare/pulls/1"},"html":{"href":"https://github.com/tanphatsolution/itshare/pull/1"},"issue":{"href":"https://api.github.com/repos/tanphatsolution/itshare/issues/1"},"comments":{"href":"https://api.github.com/repos/tanphatsolution/itshare/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/tanphatsolution/itshare/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/tanphatsolution/itshare/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tanphatsolution/itshare/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/tanphatsolution/itshare/statuses/daf0c42a67c0ae32c3fee8e50958129411a9f467"}}}}
{"actor":{"display_login":"phamkykhoi"}}