{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/Restaurant46/pulls/comments/194951982","pull_request_review_id":128222316,"id":194951982,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDk1MTk4Mg==","diff_hunk":"@@ -0,0 +1,7 @@\n+class SearchController < ApplicationController\n+  def index; end\n+\n+  def search","path":"app/controllers/search_controller.rb","position":4,"original_position":4,"commit_id":"df28560a53a22b3a3e9b654f6dd5a2b9e39f398d","original_commit_id":"ce9c4295b26116313ff08493b51e92c8c5570200","user":{"login":"chuanhtuan","id":5590771,"node_id":"MDQ6VXNlcjU1OTA3NzE=","avatar_url":"https://avatars0.githubusercontent.com/u/5590771?v=4","gravatar_id":"","url":"https://api.github.com/users/chuanhtuan","html_url":"https://github.com/chuanhtuan","followers_url":"https://api.github.com/users/chuanhtuan/followers","following_url":"https://api.github.com/users/chuanhtuan/following{/other_user}","gists_url":"https://api.github.com/users/chuanhtuan/gists{/gist_id}","starred_url":"https://api.github.com/users/chuanhtuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuanhtuan/subscriptions","organizations_url":"https://api.github.com/users/chuanhtuan/orgs","repos_url":"https://api.github.com/users/chuanhtuan/repos","events_url":"https://api.github.com/users/chuanhtuan/events{/privacy}","received_events_url":"https://api.github.com/users/chuanhtuan/received_events","type":"User","site_admin":false},"body":"bỏ cả cái search controller đi\r\nđưa hàm này vào dish controller hàm index","created_at":"2018-06-13T04:16:52Z","updated_at":"2018-06-13T04:16:53Z","html_url":"https://github.com/framgia/Restaurant46/pull/12#discussion_r194951982","pull_request_url":"https://api.github.com/repos/framgia/Restaurant46/pulls/12","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/framgia/Restaurant46/pulls/comments/194951982"},"html":{"href":"https://github.com/framgia/Restaurant46/pull/12#discussion_r194951982"},"pull_request":{"href":"https://api.github.com/repos/framgia/Restaurant46/pulls/12"}},"in_reply_to_id":194936305},"pull_request":{"url":"https://api.github.com/repos/framgia/Restaurant46/pulls/12","id":194230988,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MjMwOTg4","html_url":"https://github.com/framgia/Restaurant46/pull/12","diff_url":"https://github.com/framgia/Restaurant46/pull/12.diff","patch_url":"https://github.com/framgia/Restaurant46/pull/12.patch","issue_url":"https://api.github.com/repos/framgia/Restaurant46/issues/12","number":12,"state":"open","locked":false,"title":"[user] find dish","user":{"login":"nguyennhudat","id":37998826,"node_id":"MDQ6VXNlcjM3OTk4ODI2","avatar_url":"https://avatars3.githubusercontent.com/u/37998826?v=4","gravatar_id":"","url":"https://api.github.com/users/nguyennhudat","html_url":"https://github.com/nguyennhudat","followers_url":"https://api.github.com/users/nguyennhudat/followers","following_url":"https://api.github.com/users/nguyennhudat/following{/other_user}","gists_url":"https://api.github.com/users/nguyennhudat/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyennhudat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyennhudat/subscriptions","organizations_url":"https://api.github.com/users/nguyennhudat/orgs","repos_url":"https://api.github.com/users/nguyennhudat/repos","events_url":"https://api.github.com/users/nguyennhudat/events{/privacy}","received_events_url":"https://api.github.com/users/nguyennhudat/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-12T10:13:46Z","updated_at":"2018-06-13T04:16:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d28c0089df11e8c12a91e4d5bdee528832993176","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/Restaurant46/pulls/12/commits","review_comments_url":"https://api.github.com/repos/framgia/Restaurant46/pulls/12/comments","review_comment_url":"https://api.github.com/repos/framgia/Restaurant46/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/Restaurant46/issues/12/comments","statuses_url":"https://api.github.com/repos/framgia/Restaurant46/statuses/df28560a53a22b3a3e9b654f6dd5a2b9e39f398d","head":{"label":"nguyennhudat:search_dish","ref":"search_dish","sha":"df28560a53a22b3a3e9b654f6dd5a2b9e39f398d","user":{"login":"nguyennhudat","id":37998826,"node_id":"MDQ6VXNlcjM3OTk4ODI2","avatar_url":"https://avatars3.githubusercontent.com/u/37998826?v=4","gravatar_id":"","url":"https://api.github.com/users/nguyennhudat","html_url":"https://github.com/nguyennhudat","followers_url":"https://api.github.com/users/nguyennhudat/followers","following_url":"https://api.github.com/users/nguyennhudat/following{/other_user}","gists_url":"https://api.github.com/users/nguyennhudat/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyennhudat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyennhudat/subscriptions","organizations_url":"https://api.github.com/users/nguyennhudat/orgs","repos_url":"https://api.github.com/users/nguyennhudat/repos","events_url":"https://api.github.com/users/nguyennhudat/events{/privacy}","received_events_url":"https://api.github.com/users/nguyennhudat/received_events","type":"User","site_admin":false},"repo":{"id":136129668,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxMjk2Njg=","name":"Restaurant46","full_name":"nguyennhudat/Restaurant46","owner":{"login":"nguyennhudat","id":37998826,"node_id":"MDQ6VXNlcjM3OTk4ODI2","avatar_url":"https://avatars3.githubusercontent.com/u/37998826?v=4","gravatar_id":"","url":"https://api.github.com/users/nguyennhudat","html_url":"https://github.com/nguyennhudat","followers_url":"https://api.github.com/users/nguyennhudat/followers","following_url":"https://api.github.com/users/nguyennhudat/following{/other_user}","gists_url":"https://api.github.com/users/nguyennhudat/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyennhudat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyennhudat/subscriptions","organizations_url":"https://api.github.com/users/nguyennhudat/orgs","repos_url":"https://api.github.com/users/nguyennhudat/repos","events_url":"https://api.github.com/users/nguyennhudat/events{/privacy}","received_events_url":"https://api.github.com/users/nguyennhudat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyennhudat/Restaurant46","description":null,"fork":true,"url":"https://api.github.com/repos/nguyennhudat/Restaurant46","forks_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/forks","keys_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/teams","hooks_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/hooks","issue_events_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/issues/events{/number}","events_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/events","assignees_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/assignees{/user}","branches_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/branches{/branch}","tags_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/tags","blobs_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/languages","stargazers_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/stargazers","contributors_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/contributors","subscribers_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/subscribers","subscription_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/subscription","commits_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/contents/{+path}","compare_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/merges","archive_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/downloads","issues_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/issues{/number}","pulls_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/labels{/name}","releases_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/releases{/id}","deployments_url":"https://api.github.com/repos/nguyennhudat/Restaurant46/deployments","created_at":"2018-06-05T06:19:30Z","updated_at":"2018-06-05T06:19:31Z","pushed_at":"2018-06-13T03:58:11Z","git_url":"git://github.com/nguyennhudat/Restaurant46.git","ssh_url":"git@github.com:nguyennhudat/Restaurant46.git","clone_url":"https://github.com/nguyennhudat/Restaurant46.git","svn_url":"https://github.com/nguyennhudat/Restaurant46","homepage":null,"size":6256,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"framgia:master","ref":"master","sha":"da636516eef6cf9e2bb3c106dcc6db11acc58da2","user":{"login":"framgia","id":2322183,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMjIxODM=","avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","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":136111786,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxMTE3ODY=","name":"Restaurant46","full_name":"framgia/Restaurant46","owner":{"login":"framgia","id":2322183,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMjIxODM=","avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","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/Restaurant46","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/Restaurant46","forks_url":"https://api.github.com/repos/framgia/Restaurant46/forks","keys_url":"https://api.github.com/repos/framgia/Restaurant46/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/Restaurant46/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/Restaurant46/teams","hooks_url":"https://api.github.com/repos/framgia/Restaurant46/hooks","issue_events_url":"https://api.github.com/repos/framgia/Restaurant46/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/Restaurant46/events","assignees_url":"https://api.github.com/repos/framgia/Restaurant46/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/Restaurant46/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/Restaurant46/tags","blobs_url":"https://api.github.com/repos/framgia/Restaurant46/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/Restaurant46/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/Restaurant46/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/Restaurant46/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/Restaurant46/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/Restaurant46/languages","stargazers_url":"https://api.github.com/repos/framgia/Restaurant46/stargazers","contributors_url":"https://api.github.com/repos/framgia/Restaurant46/contributors","subscribers_url":"https://api.github.com/repos/framgia/Restaurant46/subscribers","subscription_url":"https://api.github.com/repos/framgia/Restaurant46/subscription","commits_url":"https://api.github.com/repos/framgia/Restaurant46/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/Restaurant46/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/Restaurant46/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/Restaurant46/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/Restaurant46/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/Restaurant46/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/Restaurant46/merges","archive_url":"https://api.github.com/repos/framgia/Restaurant46/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/Restaurant46/downloads","issues_url":"https://api.github.com/repos/framgia/Restaurant46/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/Restaurant46/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/Restaurant46/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/Restaurant46/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/Restaurant46/labels{/name}","releases_url":"https://api.github.com/repos/framgia/Restaurant46/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/Restaurant46/deployments","created_at":"2018-06-05T03:00:51Z","updated_at":"2018-06-13T04:15:14Z","pushed_at":"2018-06-13T04:15:12Z","git_url":"git://github.com/framgia/Restaurant46.git","ssh_url":"git@github.com:framgia/Restaurant46.git","clone_url":"https://github.com/framgia/Restaurant46.git","svn_url":"https://github.com/framgia/Restaurant46","homepage":null,"size":6231,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/Restaurant46/pulls/12"},"html":{"href":"https://github.com/framgia/Restaurant46/pull/12"},"issue":{"href":"https://api.github.com/repos/framgia/Restaurant46/issues/12"},"comments":{"href":"https://api.github.com/repos/framgia/Restaurant46/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/Restaurant46/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/Restaurant46/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/Restaurant46/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/Restaurant46/statuses/df28560a53a22b3a3e9b654f6dd5a2b9e39f398d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"chuanhtuan"}}