{"action":"created","comment":{"url":"https://api.github.com/repos/php-soft/laravel-users/pulls/comments/38606467","id":38606467,"diff_hunk":"@@ -170,4 +170,54 @@ public function index(Request $request)\n             'users' => $users,\n         ]), 200);\n     }\n+\n+    /**\n+     * block user\n+     * \n+     * @param  int $id\n+     * @return json\n+     */\n+    public function blockUser($id)","path":"packages/Users/Controllers/UserController.php","position":11,"original_position":11,"commit_id":"767a50f6721e14e5adb1248d34a0a3e883c87d06","original_commit_id":"767a50f6721e14e5adb1248d34a0a3e883c87d06","user":{"login":"huytbt","id":7126782,"avatar_url":"https://avatars.githubusercontent.com/u/7126782?v=3","gravatar_id":"","url":"https://api.github.com/users/huytbt","html_url":"https://github.com/huytbt","followers_url":"https://api.github.com/users/huytbt/followers","following_url":"https://api.github.com/users/huytbt/following{/other_user}","gists_url":"https://api.github.com/users/huytbt/gists{/gist_id}","starred_url":"https://api.github.com/users/huytbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huytbt/subscriptions","organizations_url":"https://api.github.com/users/huytbt/orgs","repos_url":"https://api.github.com/users/huytbt/repos","events_url":"https://api.github.com/users/huytbt/events{/privacy}","received_events_url":"https://api.github.com/users/huytbt/received_events","type":"User","site_admin":false},"body":"Nên dùng block thay vì blockUser.\r\nMethod được viết trong User controller nên block có nghĩa là block user","created_at":"2015-09-03T01:53:02Z","updated_at":"2015-09-03T01:53:02Z","html_url":"https://github.com/php-soft/laravel-users/pull/45#discussion_r38606467","pull_request_url":"https://api.github.com/repos/php-soft/laravel-users/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/php-soft/laravel-users/pulls/comments/38606467"},"html":{"href":"https://github.com/php-soft/laravel-users/pull/45#discussion_r38606467"},"pull_request":{"href":"https://api.github.com/repos/php-soft/laravel-users/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/php-soft/laravel-users/pulls/45","id":43845139,"html_url":"https://github.com/php-soft/laravel-users/pull/45","diff_url":"https://github.com/php-soft/laravel-users/pull/45.diff","patch_url":"https://github.com/php-soft/laravel-users/pull/45.patch","issue_url":"https://api.github.com/repos/php-soft/laravel-users/issues/45","number":45,"state":"open","locked":false,"title":"Block and active user #29","user":{"login":"gghoantt","id":13842780,"avatar_url":"https://avatars.githubusercontent.com/u/13842780?v=3","gravatar_id":"","url":"https://api.github.com/users/gghoantt","html_url":"https://github.com/gghoantt","followers_url":"https://api.github.com/users/gghoantt/followers","following_url":"https://api.github.com/users/gghoantt/following{/other_user}","gists_url":"https://api.github.com/users/gghoantt/gists{/gist_id}","starred_url":"https://api.github.com/users/gghoantt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gghoantt/subscriptions","organizations_url":"https://api.github.com/users/gghoantt/orgs","repos_url":"https://api.github.com/users/gghoantt/repos","events_url":"https://api.github.com/users/gghoantt/events{/privacy}","received_events_url":"https://api.github.com/users/gghoantt/received_events","type":"User","site_admin":false},"body":"#29","created_at":"2015-09-01T07:29:14Z","updated_at":"2015-09-03T01:53:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cce35f3a9a1f259700d3c6aa9d3e6bda81d516c9","assignee":{"login":"gghoantt","id":13842780,"avatar_url":"https://avatars.githubusercontent.com/u/13842780?v=3","gravatar_id":"","url":"https://api.github.com/users/gghoantt","html_url":"https://github.com/gghoantt","followers_url":"https://api.github.com/users/gghoantt/followers","following_url":"https://api.github.com/users/gghoantt/following{/other_user}","gists_url":"https://api.github.com/users/gghoantt/gists{/gist_id}","starred_url":"https://api.github.com/users/gghoantt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gghoantt/subscriptions","organizations_url":"https://api.github.com/users/gghoantt/orgs","repos_url":"https://api.github.com/users/gghoantt/repos","events_url":"https://api.github.com/users/gghoantt/events{/privacy}","received_events_url":"https://api.github.com/users/gghoantt/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/php-soft/laravel-users/pulls/45/commits","review_comments_url":"https://api.github.com/repos/php-soft/laravel-users/pulls/45/comments","review_comment_url":"https://api.github.com/repos/php-soft/laravel-users/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php-soft/laravel-users/issues/45/comments","statuses_url":"https://api.github.com/repos/php-soft/laravel-users/statuses/767a50f6721e14e5adb1248d34a0a3e883c87d06","head":{"label":"php-soft:block_user","ref":"block_user","sha":"767a50f6721e14e5adb1248d34a0a3e883c87d06","user":{"login":"php-soft","id":13344281,"avatar_url":"https://avatars.githubusercontent.com/u/13344281?v=3","gravatar_id":"","url":"https://api.github.com/users/php-soft","html_url":"https://github.com/php-soft","followers_url":"https://api.github.com/users/php-soft/followers","following_url":"https://api.github.com/users/php-soft/following{/other_user}","gists_url":"https://api.github.com/users/php-soft/gists{/gist_id}","starred_url":"https://api.github.com/users/php-soft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-soft/subscriptions","organizations_url":"https://api.github.com/users/php-soft/orgs","repos_url":"https://api.github.com/users/php-soft/repos","events_url":"https://api.github.com/users/php-soft/events{/privacy}","received_events_url":"https://api.github.com/users/php-soft/received_events","type":"Organization","site_admin":false},"repo":{"id":39340595,"name":"laravel-users","full_name":"php-soft/laravel-users","owner":{"login":"php-soft","id":13344281,"avatar_url":"https://avatars.githubusercontent.com/u/13344281?v=3","gravatar_id":"","url":"https://api.github.com/users/php-soft","html_url":"https://github.com/php-soft","followers_url":"https://api.github.com/users/php-soft/followers","following_url":"https://api.github.com/users/php-soft/following{/other_user}","gists_url":"https://api.github.com/users/php-soft/gists{/gist_id}","starred_url":"https://api.github.com/users/php-soft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-soft/subscriptions","organizations_url":"https://api.github.com/users/php-soft/orgs","repos_url":"https://api.github.com/users/php-soft/repos","events_url":"https://api.github.com/users/php-soft/events{/privacy}","received_events_url":"https://api.github.com/users/php-soft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-soft/laravel-users","description":"Laravel Users Module","fork":false,"url":"https://api.github.com/repos/php-soft/laravel-users","forks_url":"https://api.github.com/repos/php-soft/laravel-users/forks","keys_url":"https://api.github.com/repos/php-soft/laravel-users/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-soft/laravel-users/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-soft/laravel-users/teams","hooks_url":"https://api.github.com/repos/php-soft/laravel-users/hooks","issue_events_url":"https://api.github.com/repos/php-soft/laravel-users/issues/events{/number}","events_url":"https://api.github.com/repos/php-soft/laravel-users/events","assignees_url":"https://api.github.com/repos/php-soft/laravel-users/assignees{/user}","branches_url":"https://api.github.com/repos/php-soft/laravel-users/branches{/branch}","tags_url":"https://api.github.com/repos/php-soft/laravel-users/tags","blobs_url":"https://api.github.com/repos/php-soft/laravel-users/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-soft/laravel-users/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-soft/laravel-users/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-soft/laravel-users/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-soft/laravel-users/statuses/{sha}","languages_url":"https://api.github.com/repos/php-soft/laravel-users/languages","stargazers_url":"https://api.github.com/repos/php-soft/laravel-users/stargazers","contributors_url":"https://api.github.com/repos/php-soft/laravel-users/contributors","subscribers_url":"https://api.github.com/repos/php-soft/laravel-users/subscribers","subscription_url":"https://api.github.com/repos/php-soft/laravel-users/subscription","commits_url":"https://api.github.com/repos/php-soft/laravel-users/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-soft/laravel-users/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-soft/laravel-users/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-soft/laravel-users/issues/comments{/number}","contents_url":"https://api.github.com/repos/php-soft/laravel-users/contents/{+path}","compare_url":"https://api.github.com/repos/php-soft/laravel-users/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-soft/laravel-users/merges","archive_url":"https://api.github.com/repos/php-soft/laravel-users/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-soft/laravel-users/downloads","issues_url":"https://api.github.com/repos/php-soft/laravel-users/issues{/number}","pulls_url":"https://api.github.com/repos/php-soft/laravel-users/pulls{/number}","milestones_url":"https://api.github.com/repos/php-soft/laravel-users/milestones{/number}","notifications_url":"https://api.github.com/repos/php-soft/laravel-users/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-soft/laravel-users/labels{/name}","releases_url":"https://api.github.com/repos/php-soft/laravel-users/releases{/id}","created_at":"2015-07-19T16:32:28Z","updated_at":"2015-07-20T06:28:42Z","pushed_at":"2015-09-03T01:45:07Z","git_url":"git://github.com/php-soft/laravel-users.git","ssh_url":"git@github.com:php-soft/laravel-users.git","clone_url":"https://github.com/php-soft/laravel-users.git","svn_url":"https://github.com/php-soft/laravel-users","homepage":null,"size":516,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"php-soft:master","ref":"master","sha":"15a1346d21a2fe5951ae6bf36934744f7ff8eb04","user":{"login":"php-soft","id":13344281,"avatar_url":"https://avatars.githubusercontent.com/u/13344281?v=3","gravatar_id":"","url":"https://api.github.com/users/php-soft","html_url":"https://github.com/php-soft","followers_url":"https://api.github.com/users/php-soft/followers","following_url":"https://api.github.com/users/php-soft/following{/other_user}","gists_url":"https://api.github.com/users/php-soft/gists{/gist_id}","starred_url":"https://api.github.com/users/php-soft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-soft/subscriptions","organizations_url":"https://api.github.com/users/php-soft/orgs","repos_url":"https://api.github.com/users/php-soft/repos","events_url":"https://api.github.com/users/php-soft/events{/privacy}","received_events_url":"https://api.github.com/users/php-soft/received_events","type":"Organization","site_admin":false},"repo":{"id":39340595,"name":"laravel-users","full_name":"php-soft/laravel-users","owner":{"login":"php-soft","id":13344281,"avatar_url":"https://avatars.githubusercontent.com/u/13344281?v=3","gravatar_id":"","url":"https://api.github.com/users/php-soft","html_url":"https://github.com/php-soft","followers_url":"https://api.github.com/users/php-soft/followers","following_url":"https://api.github.com/users/php-soft/following{/other_user}","gists_url":"https://api.github.com/users/php-soft/gists{/gist_id}","starred_url":"https://api.github.com/users/php-soft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-soft/subscriptions","organizations_url":"https://api.github.com/users/php-soft/orgs","repos_url":"https://api.github.com/users/php-soft/repos","events_url":"https://api.github.com/users/php-soft/events{/privacy}","received_events_url":"https://api.github.com/users/php-soft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-soft/laravel-users","description":"Laravel Users Module","fork":false,"url":"https://api.github.com/repos/php-soft/laravel-users","forks_url":"https://api.github.com/repos/php-soft/laravel-users/forks","keys_url":"https://api.github.com/repos/php-soft/laravel-users/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-soft/laravel-users/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-soft/laravel-users/teams","hooks_url":"https://api.github.com/repos/php-soft/laravel-users/hooks","issue_events_url":"https://api.github.com/repos/php-soft/laravel-users/issues/events{/number}","events_url":"https://api.github.com/repos/php-soft/laravel-users/events","assignees_url":"https://api.github.com/repos/php-soft/laravel-users/assignees{/user}","branches_url":"https://api.github.com/repos/php-soft/laravel-users/branches{/branch}","tags_url":"https://api.github.com/repos/php-soft/laravel-users/tags","blobs_url":"https://api.github.com/repos/php-soft/laravel-users/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-soft/laravel-users/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-soft/laravel-users/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-soft/laravel-users/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-soft/laravel-users/statuses/{sha}","languages_url":"https://api.github.com/repos/php-soft/laravel-users/languages","stargazers_url":"https://api.github.com/repos/php-soft/laravel-users/stargazers","contributors_url":"https://api.github.com/repos/php-soft/laravel-users/contributors","subscribers_url":"https://api.github.com/repos/php-soft/laravel-users/subscribers","subscription_url":"https://api.github.com/repos/php-soft/laravel-users/subscription","commits_url":"https://api.github.com/repos/php-soft/laravel-users/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-soft/laravel-users/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-soft/laravel-users/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-soft/laravel-users/issues/comments{/number}","contents_url":"https://api.github.com/repos/php-soft/laravel-users/contents/{+path}","compare_url":"https://api.github.com/repos/php-soft/laravel-users/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-soft/laravel-users/merges","archive_url":"https://api.github.com/repos/php-soft/laravel-users/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-soft/laravel-users/downloads","issues_url":"https://api.github.com/repos/php-soft/laravel-users/issues{/number}","pulls_url":"https://api.github.com/repos/php-soft/laravel-users/pulls{/number}","milestones_url":"https://api.github.com/repos/php-soft/laravel-users/milestones{/number}","notifications_url":"https://api.github.com/repos/php-soft/laravel-users/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-soft/laravel-users/labels{/name}","releases_url":"https://api.github.com/repos/php-soft/laravel-users/releases{/id}","created_at":"2015-07-19T16:32:28Z","updated_at":"2015-07-20T06:28:42Z","pushed_at":"2015-09-03T01:45:07Z","git_url":"git://github.com/php-soft/laravel-users.git","ssh_url":"git@github.com:php-soft/laravel-users.git","clone_url":"https://github.com/php-soft/laravel-users.git","svn_url":"https://github.com/php-soft/laravel-users","homepage":null,"size":516,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php-soft/laravel-users/pulls/45"},"html":{"href":"https://github.com/php-soft/laravel-users/pull/45"},"issue":{"href":"https://api.github.com/repos/php-soft/laravel-users/issues/45"},"comments":{"href":"https://api.github.com/repos/php-soft/laravel-users/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/php-soft/laravel-users/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/php-soft/laravel-users/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php-soft/laravel-users/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/php-soft/laravel-users/statuses/767a50f6721e14e5adb1248d34a0a3e883c87d06"}}}}