{"action":"created","comment":{"url":"https://api.github.com/repos/PHPEducation/hair/pulls/comments/207458086","pull_request_review_id":143074052,"id":207458086,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzQ1ODA4Ng==","diff_hunk":"@@ -0,0 +1,114 @@\n+<?php\n+\n+namespace App\\Http\\Controllers\\Admin;\n+\n+use Illuminate\\Http\\Request;\n+use App\\Http\\Controllers\\Controller;\n+use App\\RenderBooking;\n+use App\\Salon;\n+use Illuminate\\Database\\Eloquent\\ModelNotFoundException;\n+use Illuminate\\Support\\Facades\\DB;\n+use App\\Http\\Requests\\RenderBookingFormRequest;\n+class RenderBookingController extends Controller\n+{\n+    /**\n+     * Display a listing of the resource.\n+     *\n+     * @return \\Illuminate\\Http\\Response\n+     */\n+    public function index()\n+    {\n+        $salon = Salon::all();\n+        $render_bookings = RenderBooking::all();\n+        $render_bookings = RenderBooking::paginate(5);","path":"app/Http/Controllers/Admin/RenderBookingController.php","position":23,"original_position":23,"commit_id":"ef67d94c104dc260891f1365e0fb886c2062d706","original_commit_id":"ef67d94c104dc260891f1365e0fb886c2062d706","user":{"login":"BunnyPi04","id":32006118,"node_id":"MDQ6VXNlcjMyMDA2MTE4","avatar_url":"https://avatars2.githubusercontent.com/u/32006118?v=4","gravatar_id":"","url":"https://api.github.com/users/BunnyPi04","html_url":"https://github.com/BunnyPi04","followers_url":"https://api.github.com/users/BunnyPi04/followers","following_url":"https://api.github.com/users/BunnyPi04/following{/other_user}","gists_url":"https://api.github.com/users/BunnyPi04/gists{/gist_id}","starred_url":"https://api.github.com/users/BunnyPi04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BunnyPi04/subscriptions","organizations_url":"https://api.github.com/users/BunnyPi04/orgs","repos_url":"https://api.github.com/users/BunnyPi04/repos","events_url":"https://api.github.com/users/BunnyPi04/events{/privacy}","received_events_url":"https://api.github.com/users/BunnyPi04/received_events","type":"User","site_admin":false},"body":"paginate đưa vào config nhé","created_at":"2018-08-03T07:07:17Z","updated_at":"2018-08-03T07:08:09Z","html_url":"https://github.com/PHPEducation/hair/pull/21#discussion_r207458086","pull_request_url":"https://api.github.com/repos/PHPEducation/hair/pulls/21","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/PHPEducation/hair/pulls/comments/207458086"},"html":{"href":"https://github.com/PHPEducation/hair/pull/21#discussion_r207458086"},"pull_request":{"href":"https://api.github.com/repos/PHPEducation/hair/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/PHPEducation/hair/pulls/21","id":205806962,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1ODA2OTYy","html_url":"https://github.com/PHPEducation/hair/pull/21","diff_url":"https://github.com/PHPEducation/hair/pull/21.diff","patch_url":"https://github.com/PHPEducation/hair/pull/21.patch","issue_url":"https://api.github.com/repos/PHPEducation/hair/issues/21","number":21,"state":"open","locked":false,"title":" Crud model RenderBooking","user":{"login":"ZzBoyHnzZ","id":21336810,"node_id":"MDQ6VXNlcjIxMzM2ODEw","avatar_url":"https://avatars0.githubusercontent.com/u/21336810?v=4","gravatar_id":"","url":"https://api.github.com/users/ZzBoyHnzZ","html_url":"https://github.com/ZzBoyHnzZ","followers_url":"https://api.github.com/users/ZzBoyHnzZ/followers","following_url":"https://api.github.com/users/ZzBoyHnzZ/following{/other_user}","gists_url":"https://api.github.com/users/ZzBoyHnzZ/gists{/gist_id}","starred_url":"https://api.github.com/users/ZzBoyHnzZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZzBoyHnzZ/subscriptions","organizations_url":"https://api.github.com/users/ZzBoyHnzZ/orgs","repos_url":"https://api.github.com/users/ZzBoyHnzZ/repos","events_url":"https://api.github.com/users/ZzBoyHnzZ/events{/privacy}","received_events_url":"https://api.github.com/users/ZzBoyHnzZ/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-02T17:25:54Z","updated_at":"2018-08-03T07:08:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5feaf0f6d62d6b025178095841b43218e6b7c30","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PHPEducation/hair/pulls/21/commits","review_comments_url":"https://api.github.com/repos/PHPEducation/hair/pulls/21/comments","review_comment_url":"https://api.github.com/repos/PHPEducation/hair/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PHPEducation/hair/issues/21/comments","statuses_url":"https://api.github.com/repos/PHPEducation/hair/statuses/ef67d94c104dc260891f1365e0fb886c2062d706","head":{"label":"ZzBoyHnzZ:newtask_4","ref":"newtask_4","sha":"ef67d94c104dc260891f1365e0fb886c2062d706","user":{"login":"ZzBoyHnzZ","id":21336810,"node_id":"MDQ6VXNlcjIxMzM2ODEw","avatar_url":"https://avatars0.githubusercontent.com/u/21336810?v=4","gravatar_id":"","url":"https://api.github.com/users/ZzBoyHnzZ","html_url":"https://github.com/ZzBoyHnzZ","followers_url":"https://api.github.com/users/ZzBoyHnzZ/followers","following_url":"https://api.github.com/users/ZzBoyHnzZ/following{/other_user}","gists_url":"https://api.github.com/users/ZzBoyHnzZ/gists{/gist_id}","starred_url":"https://api.github.com/users/ZzBoyHnzZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZzBoyHnzZ/subscriptions","organizations_url":"https://api.github.com/users/ZzBoyHnzZ/orgs","repos_url":"https://api.github.com/users/ZzBoyHnzZ/repos","events_url":"https://api.github.com/users/ZzBoyHnzZ/events{/privacy}","received_events_url":"https://api.github.com/users/ZzBoyHnzZ/received_events","type":"User","site_admin":false},"repo":{"id":142124732,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIxMjQ3MzI=","name":"hair-1","full_name":"ZzBoyHnzZ/hair-1","owner":{"login":"ZzBoyHnzZ","id":21336810,"node_id":"MDQ6VXNlcjIxMzM2ODEw","avatar_url":"https://avatars0.githubusercontent.com/u/21336810?v=4","gravatar_id":"","url":"https://api.github.com/users/ZzBoyHnzZ","html_url":"https://github.com/ZzBoyHnzZ","followers_url":"https://api.github.com/users/ZzBoyHnzZ/followers","following_url":"https://api.github.com/users/ZzBoyHnzZ/following{/other_user}","gists_url":"https://api.github.com/users/ZzBoyHnzZ/gists{/gist_id}","starred_url":"https://api.github.com/users/ZzBoyHnzZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZzBoyHnzZ/subscriptions","organizations_url":"https://api.github.com/users/ZzBoyHnzZ/orgs","repos_url":"https://api.github.com/users/ZzBoyHnzZ/repos","events_url":"https://api.github.com/users/ZzBoyHnzZ/events{/privacy}","received_events_url":"https://api.github.com/users/ZzBoyHnzZ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZzBoyHnzZ/hair-1","description":null,"fork":true,"url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1","forks_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/forks","keys_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/teams","hooks_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/hooks","issue_events_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/issues/events{/number}","events_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/events","assignees_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/assignees{/user}","branches_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/branches{/branch}","tags_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/tags","blobs_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/statuses/{sha}","languages_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/languages","stargazers_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/stargazers","contributors_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/contributors","subscribers_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/subscribers","subscription_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/subscription","commits_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/contents/{+path}","compare_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/merges","archive_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/downloads","issues_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/issues{/number}","pulls_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/pulls{/number}","milestones_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/milestones{/number}","notifications_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/labels{/name}","releases_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/releases{/id}","deployments_url":"https://api.github.com/repos/ZzBoyHnzZ/hair-1/deployments","created_at":"2018-07-24T07:56:29Z","updated_at":"2018-07-24T07:56:31Z","pushed_at":"2018-08-03T03:37:47Z","git_url":"git://github.com/ZzBoyHnzZ/hair-1.git","ssh_url":"git@github.com:ZzBoyHnzZ/hair-1.git","clone_url":"https://github.com/ZzBoyHnzZ/hair-1.git","svn_url":"https://github.com/ZzBoyHnzZ/hair-1","homepage":null,"size":599,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PHPEducation:develop","ref":"develop","sha":"fe62a115845414729225950141580cc8792e5c86","user":{"login":"PHPEducation","id":41612083,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjEyMDgz","avatar_url":"https://avatars3.githubusercontent.com/u/41612083?v=4","gravatar_id":"","url":"https://api.github.com/users/PHPEducation","html_url":"https://github.com/PHPEducation","followers_url":"https://api.github.com/users/PHPEducation/followers","following_url":"https://api.github.com/users/PHPEducation/following{/other_user}","gists_url":"https://api.github.com/users/PHPEducation/gists{/gist_id}","starred_url":"https://api.github.com/users/PHPEducation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PHPEducation/subscriptions","organizations_url":"https://api.github.com/users/PHPEducation/orgs","repos_url":"https://api.github.com/users/PHPEducation/repos","events_url":"https://api.github.com/users/PHPEducation/events{/privacy}","received_events_url":"https://api.github.com/users/PHPEducation/received_events","type":"Organization","site_admin":false},"repo":{"id":142122077,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIxMjIwNzc=","name":"hair","full_name":"PHPEducation/hair","owner":{"login":"PHPEducation","id":41612083,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjEyMDgz","avatar_url":"https://avatars3.githubusercontent.com/u/41612083?v=4","gravatar_id":"","url":"https://api.github.com/users/PHPEducation","html_url":"https://github.com/PHPEducation","followers_url":"https://api.github.com/users/PHPEducation/followers","following_url":"https://api.github.com/users/PHPEducation/following{/other_user}","gists_url":"https://api.github.com/users/PHPEducation/gists{/gist_id}","starred_url":"https://api.github.com/users/PHPEducation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PHPEducation/subscriptions","organizations_url":"https://api.github.com/users/PHPEducation/orgs","repos_url":"https://api.github.com/users/PHPEducation/repos","events_url":"https://api.github.com/users/PHPEducation/events{/privacy}","received_events_url":"https://api.github.com/users/PHPEducation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PHPEducation/hair","description":null,"fork":false,"url":"https://api.github.com/repos/PHPEducation/hair","forks_url":"https://api.github.com/repos/PHPEducation/hair/forks","keys_url":"https://api.github.com/repos/PHPEducation/hair/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PHPEducation/hair/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PHPEducation/hair/teams","hooks_url":"https://api.github.com/repos/PHPEducation/hair/hooks","issue_events_url":"https://api.github.com/repos/PHPEducation/hair/issues/events{/number}","events_url":"https://api.github.com/repos/PHPEducation/hair/events","assignees_url":"https://api.github.com/repos/PHPEducation/hair/assignees{/user}","branches_url":"https://api.github.com/repos/PHPEducation/hair/branches{/branch}","tags_url":"https://api.github.com/repos/PHPEducation/hair/tags","blobs_url":"https://api.github.com/repos/PHPEducation/hair/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PHPEducation/hair/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PHPEducation/hair/git/refs{/sha}","trees_url":"https://api.github.com/repos/PHPEducation/hair/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PHPEducation/hair/statuses/{sha}","languages_url":"https://api.github.com/repos/PHPEducation/hair/languages","stargazers_url":"https://api.github.com/repos/PHPEducation/hair/stargazers","contributors_url":"https://api.github.com/repos/PHPEducation/hair/contributors","subscribers_url":"https://api.github.com/repos/PHPEducation/hair/subscribers","subscription_url":"https://api.github.com/repos/PHPEducation/hair/subscription","commits_url":"https://api.github.com/repos/PHPEducation/hair/commits{/sha}","git_commits_url":"https://api.github.com/repos/PHPEducation/hair/git/commits{/sha}","comments_url":"https://api.github.com/repos/PHPEducation/hair/comments{/number}","issue_comment_url":"https://api.github.com/repos/PHPEducation/hair/issues/comments{/number}","contents_url":"https://api.github.com/repos/PHPEducation/hair/contents/{+path}","compare_url":"https://api.github.com/repos/PHPEducation/hair/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PHPEducation/hair/merges","archive_url":"https://api.github.com/repos/PHPEducation/hair/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PHPEducation/hair/downloads","issues_url":"https://api.github.com/repos/PHPEducation/hair/issues{/number}","pulls_url":"https://api.github.com/repos/PHPEducation/hair/pulls{/number}","milestones_url":"https://api.github.com/repos/PHPEducation/hair/milestones{/number}","notifications_url":"https://api.github.com/repos/PHPEducation/hair/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PHPEducation/hair/labels{/name}","releases_url":"https://api.github.com/repos/PHPEducation/hair/releases{/id}","deployments_url":"https://api.github.com/repos/PHPEducation/hair/deployments","created_at":"2018-07-24T07:34:13Z","updated_at":"2018-07-24T07:34:15Z","pushed_at":"2018-08-03T06:54:14Z","git_url":"git://github.com/PHPEducation/hair.git","ssh_url":"git@github.com:PHPEducation/hair.git","clone_url":"https://github.com/PHPEducation/hair.git","svn_url":"https://github.com/PHPEducation/hair","homepage":null,"size":584,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":3,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PHPEducation/hair/pulls/21"},"html":{"href":"https://github.com/PHPEducation/hair/pull/21"},"issue":{"href":"https://api.github.com/repos/PHPEducation/hair/issues/21"},"comments":{"href":"https://api.github.com/repos/PHPEducation/hair/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/PHPEducation/hair/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/PHPEducation/hair/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PHPEducation/hair/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/PHPEducation/hair/statuses/ef67d94c104dc260891f1365e0fb886c2062d706"}},"author_association":"NONE"}}
{"actor":{"display_login":"BunnyPi04"}}