{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fbs_01/pulls/comments/93837138","pull_request_review_id":14371069,"id":93837138,"diff_hunk":"@@ -29,6 +29,12 @@\n Route::post('shops/{id}/follow', ['as' => 'shop.follow',\n     'uses' => 'ShopController@follow']);\n \n+Route::post('shops/{id}/like', ['as' => 'shop.like',\n+    'uses' => 'ShopController@like']);\n+\n+Route::post('category/{id}/searchByPrice', ['as' => 'category.searchByPrice',","path":"routes/web.php","position":7,"original_position":7,"commit_id":"c5c58a3e1f4847871d9b60705d1775a40bfdadfd","original_commit_id":"c5c58a3e1f4847871d9b60705d1775a40bfdadfd","user":{"login":"HoangThiTuanDung","id":5584520,"avatar_url":"https://avatars.githubusercontent.com/u/5584520?v=3","gravatar_id":"","url":"https://api.github.com/users/HoangThiTuanDung","html_url":"https://github.com/HoangThiTuanDung","followers_url":"https://api.github.com/users/HoangThiTuanDung/followers","following_url":"https://api.github.com/users/HoangThiTuanDung/following{/other_user}","gists_url":"https://api.github.com/users/HoangThiTuanDung/gists{/gist_id}","starred_url":"https://api.github.com/users/HoangThiTuanDung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HoangThiTuanDung/subscriptions","organizations_url":"https://api.github.com/users/HoangThiTuanDung/orgs","repos_url":"https://api.github.com/users/HoangThiTuanDung/repos","events_url":"https://api.github.com/users/HoangThiTuanDung/events{/privacy}","received_events_url":"https://api.github.com/users/HoangThiTuanDung/received_events","type":"User","site_admin":false},"body":"Ko nên đặt tên route như thế này, g/s sau này em search theo các giá trị khác thì lại tạo thêm 1 loạt các route khác với tên tương tự à? Trước khi làm nên suy nghĩ xem làm sao cho tối ưu, tái sử dụng code được cho những trường hợp khác nữa","created_at":"2016-12-26T01:55:26Z","updated_at":"2016-12-26T02:00:47Z","html_url":"https://github.com/framgia/fbs_01/pull/33#discussion_r93837138","pull_request_url":"https://api.github.com/repos/framgia/fbs_01/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/comments/93837138"},"html":{"href":"https://github.com/framgia/fbs_01/pull/33#discussion_r93837138"},"pull_request":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fbs_01/pulls/33","id":99316941,"html_url":"https://github.com/framgia/fbs_01/pull/33","diff_url":"https://github.com/framgia/fbs_01/pull/33.diff","patch_url":"https://github.com/framgia/fbs_01/pull/33.patch","issue_url":"https://api.github.com/repos/framgia/fbs_01/issues/33","number":33,"state":"open","locked":false,"title":"like and search product in caterory","user":{"login":"phuocbv","id":15385475,"avatar_url":"https://avatars.githubusercontent.com/u/15385475?v=3","gravatar_id":"","url":"https://api.github.com/users/phuocbv","html_url":"https://github.com/phuocbv","followers_url":"https://api.github.com/users/phuocbv/followers","following_url":"https://api.github.com/users/phuocbv/following{/other_user}","gists_url":"https://api.github.com/users/phuocbv/gists{/gist_id}","starred_url":"https://api.github.com/users/phuocbv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuocbv/subscriptions","organizations_url":"https://api.github.com/users/phuocbv/orgs","repos_url":"https://api.github.com/users/phuocbv/repos","events_url":"https://api.github.com/users/phuocbv/events{/privacy}","received_events_url":"https://api.github.com/users/phuocbv/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-25T07:04:11Z","updated_at":"2016-12-26T02:00:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a48b9e8c5e6a7941f1ce7f44566f635a6f69db3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fbs_01/pulls/33/commits","review_comments_url":"https://api.github.com/repos/framgia/fbs_01/pulls/33/comments","review_comment_url":"https://api.github.com/repos/framgia/fbs_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fbs_01/issues/33/comments","statuses_url":"https://api.github.com/repos/framgia/fbs_01/statuses/c5c58a3e1f4847871d9b60705d1775a40bfdadfd","head":{"label":"phuocbv:like_product","ref":"like_product","sha":"c5c58a3e1f4847871d9b60705d1775a40bfdadfd","user":{"login":"phuocbv","id":15385475,"avatar_url":"https://avatars.githubusercontent.com/u/15385475?v=3","gravatar_id":"","url":"https://api.github.com/users/phuocbv","html_url":"https://github.com/phuocbv","followers_url":"https://api.github.com/users/phuocbv/followers","following_url":"https://api.github.com/users/phuocbv/following{/other_user}","gists_url":"https://api.github.com/users/phuocbv/gists{/gist_id}","starred_url":"https://api.github.com/users/phuocbv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuocbv/subscriptions","organizations_url":"https://api.github.com/users/phuocbv/orgs","repos_url":"https://api.github.com/users/phuocbv/repos","events_url":"https://api.github.com/users/phuocbv/events{/privacy}","received_events_url":"https://api.github.com/users/phuocbv/received_events","type":"User","site_admin":false},"repo":{"id":75983635,"name":"fbs_01","full_name":"phuocbv/fbs_01","owner":{"login":"phuocbv","id":15385475,"avatar_url":"https://avatars.githubusercontent.com/u/15385475?v=3","gravatar_id":"","url":"https://api.github.com/users/phuocbv","html_url":"https://github.com/phuocbv","followers_url":"https://api.github.com/users/phuocbv/followers","following_url":"https://api.github.com/users/phuocbv/following{/other_user}","gists_url":"https://api.github.com/users/phuocbv/gists{/gist_id}","starred_url":"https://api.github.com/users/phuocbv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuocbv/subscriptions","organizations_url":"https://api.github.com/users/phuocbv/orgs","repos_url":"https://api.github.com/users/phuocbv/repos","events_url":"https://api.github.com/users/phuocbv/events{/privacy}","received_events_url":"https://api.github.com/users/phuocbv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phuocbv/fbs_01","description":"Framgia Buy & Sale (training)","fork":true,"url":"https://api.github.com/repos/phuocbv/fbs_01","forks_url":"https://api.github.com/repos/phuocbv/fbs_01/forks","keys_url":"https://api.github.com/repos/phuocbv/fbs_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phuocbv/fbs_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phuocbv/fbs_01/teams","hooks_url":"https://api.github.com/repos/phuocbv/fbs_01/hooks","issue_events_url":"https://api.github.com/repos/phuocbv/fbs_01/issues/events{/number}","events_url":"https://api.github.com/repos/phuocbv/fbs_01/events","assignees_url":"https://api.github.com/repos/phuocbv/fbs_01/assignees{/user}","branches_url":"https://api.github.com/repos/phuocbv/fbs_01/branches{/branch}","tags_url":"https://api.github.com/repos/phuocbv/fbs_01/tags","blobs_url":"https://api.github.com/repos/phuocbv/fbs_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phuocbv/fbs_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phuocbv/fbs_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/phuocbv/fbs_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phuocbv/fbs_01/statuses/{sha}","languages_url":"https://api.github.com/repos/phuocbv/fbs_01/languages","stargazers_url":"https://api.github.com/repos/phuocbv/fbs_01/stargazers","contributors_url":"https://api.github.com/repos/phuocbv/fbs_01/contributors","subscribers_url":"https://api.github.com/repos/phuocbv/fbs_01/subscribers","subscription_url":"https://api.github.com/repos/phuocbv/fbs_01/subscription","commits_url":"https://api.github.com/repos/phuocbv/fbs_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/phuocbv/fbs_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/phuocbv/fbs_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/phuocbv/fbs_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/phuocbv/fbs_01/contents/{+path}","compare_url":"https://api.github.com/repos/phuocbv/fbs_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phuocbv/fbs_01/merges","archive_url":"https://api.github.com/repos/phuocbv/fbs_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phuocbv/fbs_01/downloads","issues_url":"https://api.github.com/repos/phuocbv/fbs_01/issues{/number}","pulls_url":"https://api.github.com/repos/phuocbv/fbs_01/pulls{/number}","milestones_url":"https://api.github.com/repos/phuocbv/fbs_01/milestones{/number}","notifications_url":"https://api.github.com/repos/phuocbv/fbs_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phuocbv/fbs_01/labels{/name}","releases_url":"https://api.github.com/repos/phuocbv/fbs_01/releases{/id}","deployments_url":"https://api.github.com/repos/phuocbv/fbs_01/deployments","created_at":"2016-12-08T23:27:31Z","updated_at":"2016-12-08T03:04:30Z","pushed_at":"2016-12-25T07:03:36Z","git_url":"git://github.com/phuocbv/fbs_01.git","ssh_url":"git@github.com:phuocbv/fbs_01.git","clone_url":"https://github.com/phuocbv/fbs_01.git","svn_url":"https://github.com/phuocbv/fbs_01","homepage":null,"size":1616,"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":"15f58e3e6fce5448058382bd308f0d1fe38ca4c5","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":75810837,"name":"fbs_01","full_name":"framgia/fbs_01","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/fbs_01","description":"Framgia Buy & Sale (training)","fork":false,"url":"https://api.github.com/repos/framgia/fbs_01","forks_url":"https://api.github.com/repos/framgia/fbs_01/forks","keys_url":"https://api.github.com/repos/framgia/fbs_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fbs_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fbs_01/teams","hooks_url":"https://api.github.com/repos/framgia/fbs_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/fbs_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fbs_01/events","assignees_url":"https://api.github.com/repos/framgia/fbs_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fbs_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fbs_01/tags","blobs_url":"https://api.github.com/repos/framgia/fbs_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fbs_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fbs_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fbs_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fbs_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fbs_01/languages","stargazers_url":"https://api.github.com/repos/framgia/fbs_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/fbs_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/fbs_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/fbs_01/subscription","commits_url":"https://api.github.com/repos/framgia/fbs_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fbs_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fbs_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fbs_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fbs_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fbs_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fbs_01/merges","archive_url":"https://api.github.com/repos/framgia/fbs_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fbs_01/downloads","issues_url":"https://api.github.com/repos/framgia/fbs_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fbs_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fbs_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fbs_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fbs_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fbs_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fbs_01/deployments","created_at":"2016-12-07T07:26:45Z","updated_at":"2016-12-08T03:04:30Z","pushed_at":"2016-12-25T07:04:11Z","git_url":"git://github.com/framgia/fbs_01.git","ssh_url":"git@github.com:framgia/fbs_01.git","clone_url":"https://github.com/framgia/fbs_01.git","svn_url":"https://github.com/framgia/fbs_01","homepage":null,"size":1589,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/33"},"html":{"href":"https://github.com/framgia/fbs_01/pull/33"},"issue":{"href":"https://api.github.com/repos/framgia/fbs_01/issues/33"},"comments":{"href":"https://api.github.com/repos/framgia/fbs_01/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fbs_01/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fbs_01/statuses/c5c58a3e1f4847871d9b60705d1775a40bfdadfd"}}}}
{"actor":{"display_login":"HoangThiTuanDung"}}