{"action":"created","comment":{"url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/comments/126900909","pull_request_review_id":49429356,"id":126900909,"diff_hunk":"@@ -9,9 +9,15 @@\n     get \"/login\", to: \"sessions#new\"\n     post \"/login\",   to: \"sessions#create\"\n     delete \"/logout\",  to: \"sessions#destroy\"\n-    resources :users\n+    resources :users do\n+      member do\n+        get :following, to: \"relationships#index\", type: \"following\"","path":"config/routes.rb","position":7,"original_position":7,"commit_id":"c52e6d081c1b8904802d2194cd9c9287027bdaa5","original_commit_id":"166973b4785b0931e6bd68bdd202a9059777a791","user":{"login":"yeunuthongminh","id":20291773,"avatar_url":"https://avatars2.githubusercontent.com/u/20291773?v=3","gravatar_id":"","url":"https://api.github.com/users/yeunuthongminh","html_url":"https://github.com/yeunuthongminh","followers_url":"https://api.github.com/users/yeunuthongminh/followers","following_url":"https://api.github.com/users/yeunuthongminh/following{/other_user}","gists_url":"https://api.github.com/users/yeunuthongminh/gists{/gist_id}","starred_url":"https://api.github.com/users/yeunuthongminh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeunuthongminh/subscriptions","organizations_url":"https://api.github.com/users/yeunuthongminh/orgs","repos_url":"https://api.github.com/users/yeunuthongminh/repos","events_url":"https://api.github.com/users/yeunuthongminh/events{/privacy}","received_events_url":"https://api.github.com/users/yeunuthongminh/received_events","type":"User","site_admin":false},"body":"ý c là viết code sao cho không cần khai báo 2 dòng này nhé","created_at":"2017-07-12T09:06:23Z","updated_at":"2017-07-12T09:06:23Z","html_url":"https://github.com/Tmoz113011/RailsTutorial1/pull/19#discussion_r126900909","pull_request_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/comments/126900909"},"html":{"href":"https://github.com/Tmoz113011/RailsTutorial1/pull/19#discussion_r126900909"},"pull_request":{"href":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/19","id":129614614,"html_url":"https://github.com/Tmoz113011/RailsTutorial1/pull/19","diff_url":"https://github.com/Tmoz113011/RailsTutorial1/pull/19.diff","patch_url":"https://github.com/Tmoz113011/RailsTutorial1/pull/19.patch","issue_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/issues/19","number":19,"state":"open","locked":false,"title":"Chap14","user":{"login":"Tmoz113011","id":28645302,"avatar_url":"https://avatars3.githubusercontent.com/u/28645302?v=3","gravatar_id":"","url":"https://api.github.com/users/Tmoz113011","html_url":"https://github.com/Tmoz113011","followers_url":"https://api.github.com/users/Tmoz113011/followers","following_url":"https://api.github.com/users/Tmoz113011/following{/other_user}","gists_url":"https://api.github.com/users/Tmoz113011/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmoz113011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmoz113011/subscriptions","organizations_url":"https://api.github.com/users/Tmoz113011/orgs","repos_url":"https://api.github.com/users/Tmoz113011/repos","events_url":"https://api.github.com/users/Tmoz113011/events{/privacy}","received_events_url":"https://api.github.com/users/Tmoz113011/received_events","type":"User","site_admin":false},"body":"![image](https://user-images.githubusercontent.com/28645302/28052781-28895112-6637-11e7-9109-7400eb8c56f6.png)\r\n","created_at":"2017-07-10T07:17:04Z","updated_at":"2017-07-12T09:06:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5286fd40b4af21df7c9f77c16bc69e7f886c2a6","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/19/commits","review_comments_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/19/comments","review_comment_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/issues/19/comments","statuses_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/statuses/c52e6d081c1b8904802d2194cd9c9287027bdaa5","head":{"label":"Tmoz113011:chap14","ref":"chap14","sha":"c52e6d081c1b8904802d2194cd9c9287027bdaa5","user":{"login":"Tmoz113011","id":28645302,"avatar_url":"https://avatars3.githubusercontent.com/u/28645302?v=3","gravatar_id":"","url":"https://api.github.com/users/Tmoz113011","html_url":"https://github.com/Tmoz113011","followers_url":"https://api.github.com/users/Tmoz113011/followers","following_url":"https://api.github.com/users/Tmoz113011/following{/other_user}","gists_url":"https://api.github.com/users/Tmoz113011/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmoz113011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmoz113011/subscriptions","organizations_url":"https://api.github.com/users/Tmoz113011/orgs","repos_url":"https://api.github.com/users/Tmoz113011/repos","events_url":"https://api.github.com/users/Tmoz113011/events{/privacy}","received_events_url":"https://api.github.com/users/Tmoz113011/received_events","type":"User","site_admin":false},"repo":{"id":95577624,"name":"RailsTutorial1","full_name":"Tmoz113011/RailsTutorial1","owner":{"login":"Tmoz113011","id":28645302,"avatar_url":"https://avatars3.githubusercontent.com/u/28645302?v=3","gravatar_id":"","url":"https://api.github.com/users/Tmoz113011","html_url":"https://github.com/Tmoz113011","followers_url":"https://api.github.com/users/Tmoz113011/followers","following_url":"https://api.github.com/users/Tmoz113011/following{/other_user}","gists_url":"https://api.github.com/users/Tmoz113011/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmoz113011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmoz113011/subscriptions","organizations_url":"https://api.github.com/users/Tmoz113011/orgs","repos_url":"https://api.github.com/users/Tmoz113011/repos","events_url":"https://api.github.com/users/Tmoz113011/events{/privacy}","received_events_url":"https://api.github.com/users/Tmoz113011/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tmoz113011/RailsTutorial1","description":null,"fork":false,"url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1","forks_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/forks","keys_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/teams","hooks_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/hooks","issue_events_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/issues/events{/number}","events_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/events","assignees_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/assignees{/user}","branches_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/branches{/branch}","tags_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/tags","blobs_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/statuses/{sha}","languages_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/languages","stargazers_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/stargazers","contributors_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/contributors","subscribers_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/subscribers","subscription_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/subscription","commits_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/contents/{+path}","compare_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/merges","archive_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/downloads","issues_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/issues{/number}","pulls_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls{/number}","milestones_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/milestones{/number}","notifications_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/labels{/name}","releases_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/releases{/id}","deployments_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/deployments","created_at":"2017-06-27T16:14:41Z","updated_at":"2017-06-27T16:14:41Z","pushed_at":"2017-07-12T08:35:12Z","git_url":"git://github.com/Tmoz113011/RailsTutorial1.git","ssh_url":"git@github.com:Tmoz113011/RailsTutorial1.git","clone_url":"https://github.com/Tmoz113011/RailsTutorial1.git","svn_url":"https://github.com/Tmoz113011/RailsTutorial1","homepage":null,"size":113,"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":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Tmoz113011:develop","ref":"develop","sha":"f7712f7ea9192bfc53613e617e1152dbedb6e99f","user":{"login":"Tmoz113011","id":28645302,"avatar_url":"https://avatars3.githubusercontent.com/u/28645302?v=3","gravatar_id":"","url":"https://api.github.com/users/Tmoz113011","html_url":"https://github.com/Tmoz113011","followers_url":"https://api.github.com/users/Tmoz113011/followers","following_url":"https://api.github.com/users/Tmoz113011/following{/other_user}","gists_url":"https://api.github.com/users/Tmoz113011/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmoz113011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmoz113011/subscriptions","organizations_url":"https://api.github.com/users/Tmoz113011/orgs","repos_url":"https://api.github.com/users/Tmoz113011/repos","events_url":"https://api.github.com/users/Tmoz113011/events{/privacy}","received_events_url":"https://api.github.com/users/Tmoz113011/received_events","type":"User","site_admin":false},"repo":{"id":95577624,"name":"RailsTutorial1","full_name":"Tmoz113011/RailsTutorial1","owner":{"login":"Tmoz113011","id":28645302,"avatar_url":"https://avatars3.githubusercontent.com/u/28645302?v=3","gravatar_id":"","url":"https://api.github.com/users/Tmoz113011","html_url":"https://github.com/Tmoz113011","followers_url":"https://api.github.com/users/Tmoz113011/followers","following_url":"https://api.github.com/users/Tmoz113011/following{/other_user}","gists_url":"https://api.github.com/users/Tmoz113011/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmoz113011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmoz113011/subscriptions","organizations_url":"https://api.github.com/users/Tmoz113011/orgs","repos_url":"https://api.github.com/users/Tmoz113011/repos","events_url":"https://api.github.com/users/Tmoz113011/events{/privacy}","received_events_url":"https://api.github.com/users/Tmoz113011/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tmoz113011/RailsTutorial1","description":null,"fork":false,"url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1","forks_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/forks","keys_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/teams","hooks_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/hooks","issue_events_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/issues/events{/number}","events_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/events","assignees_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/assignees{/user}","branches_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/branches{/branch}","tags_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/tags","blobs_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/statuses/{sha}","languages_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/languages","stargazers_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/stargazers","contributors_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/contributors","subscribers_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/subscribers","subscription_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/subscription","commits_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/contents/{+path}","compare_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/merges","archive_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/downloads","issues_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/issues{/number}","pulls_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls{/number}","milestones_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/milestones{/number}","notifications_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/labels{/name}","releases_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/releases{/id}","deployments_url":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/deployments","created_at":"2017-06-27T16:14:41Z","updated_at":"2017-06-27T16:14:41Z","pushed_at":"2017-07-12T08:35:12Z","git_url":"git://github.com/Tmoz113011/RailsTutorial1.git","ssh_url":"git@github.com:Tmoz113011/RailsTutorial1.git","clone_url":"https://github.com/Tmoz113011/RailsTutorial1.git","svn_url":"https://github.com/Tmoz113011/RailsTutorial1","homepage":null,"size":113,"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":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/19"},"html":{"href":"https://github.com/Tmoz113011/RailsTutorial1/pull/19"},"issue":{"href":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/issues/19"},"comments":{"href":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/Tmoz113011/RailsTutorial1/statuses/c52e6d081c1b8904802d2194cd9c9287027bdaa5"}}}}
{"actor":{"display_login":"yeunuthongminh"}}