{"action":"created","comment":{"url":"https://api.github.com/repos/quan97dn/sample_app/pulls/comments/180825948","pull_request_review_id":111316589,"id":180825948,"diff_hunk":"@@ -1,3 +1,29 @@\n class UsersController < ApplicationController\n-  def new; end\n+  def show\n+    @user = User.find_by id: params[:id]\n+    unless @user\n+      flash[:danger] = I18n.t(\".no_request_user\")","path":"app/controllers/users_controller.rb","position":6,"original_position":6,"commit_id":"f1b87ea0dc11c2c596115a003ceee97e7b3a75ab","original_commit_id":"f1b87ea0dc11c2c596115a003ceee97e7b3a75ab","user":{"login":"VuThiTranVan","id":27009821,"avatar_url":"https://avatars3.githubusercontent.com/u/27009821?v=4","gravatar_id":"","url":"https://api.github.com/users/VuThiTranVan","html_url":"https://github.com/VuThiTranVan","followers_url":"https://api.github.com/users/VuThiTranVan/followers","following_url":"https://api.github.com/users/VuThiTranVan/following{/other_user}","gists_url":"https://api.github.com/users/VuThiTranVan/gists{/gist_id}","starred_url":"https://api.github.com/users/VuThiTranVan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VuThiTranVan/subscriptions","organizations_url":"https://api.github.com/users/VuThiTranVan/orgs","repos_url":"https://api.github.com/users/VuThiTranVan/repos","events_url":"https://api.github.com/users/VuThiTranVan/events{/privacy}","received_events_url":"https://api.github.com/users/VuThiTranVan/received_events","type":"User","site_admin":false},"body":"Bỏ `I18n.` dc ko e","created_at":"2018-04-11T16:55:24Z","updated_at":"2018-04-11T17:04:11Z","html_url":"https://github.com/quan97dn/sample_app/pull/7#discussion_r180825948","pull_request_url":"https://api.github.com/repos/quan97dn/sample_app/pulls/7","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/quan97dn/sample_app/pulls/comments/180825948"},"html":{"href":"https://github.com/quan97dn/sample_app/pull/7#discussion_r180825948"},"pull_request":{"href":"https://api.github.com/repos/quan97dn/sample_app/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/quan97dn/sample_app/pulls/7","id":180773667,"html_url":"https://github.com/quan97dn/sample_app/pull/7","diff_url":"https://github.com/quan97dn/sample_app/pull/7.diff","patch_url":"https://github.com/quan97dn/sample_app/pull/7.patch","issue_url":"https://api.github.com/repos/quan97dn/sample_app/issues/7","number":7,"state":"open","locked":false,"title":"Chapter 7","user":{"login":"quan97dn","id":18684197,"avatar_url":"https://avatars3.githubusercontent.com/u/18684197?v=4","gravatar_id":"","url":"https://api.github.com/users/quan97dn","html_url":"https://github.com/quan97dn","followers_url":"https://api.github.com/users/quan97dn/followers","following_url":"https://api.github.com/users/quan97dn/following{/other_user}","gists_url":"https://api.github.com/users/quan97dn/gists{/gist_id}","starred_url":"https://api.github.com/users/quan97dn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quan97dn/subscriptions","organizations_url":"https://api.github.com/users/quan97dn/orgs","repos_url":"https://api.github.com/users/quan97dn/repos","events_url":"https://api.github.com/users/quan97dn/events{/privacy}","received_events_url":"https://api.github.com/users/quan97dn/received_events","type":"User","site_admin":false},"body":"![image](https://user-images.githubusercontent.com/18684197/38592980-54f3679c-3d69-11e8-8b6d-ec017a150de2.png)\r\n","created_at":"2018-04-11T02:18:48Z","updated_at":"2018-04-11T17:04:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6e212b5f28fb4b32011eee862ae2bdefc092f6f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/quan97dn/sample_app/pulls/7/commits","review_comments_url":"https://api.github.com/repos/quan97dn/sample_app/pulls/7/comments","review_comment_url":"https://api.github.com/repos/quan97dn/sample_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quan97dn/sample_app/issues/7/comments","statuses_url":"https://api.github.com/repos/quan97dn/sample_app/statuses/f1b87ea0dc11c2c596115a003ceee97e7b3a75ab","head":{"label":"quan97dn:chapter_7","ref":"chapter_7","sha":"f1b87ea0dc11c2c596115a003ceee97e7b3a75ab","user":{"login":"quan97dn","id":18684197,"avatar_url":"https://avatars3.githubusercontent.com/u/18684197?v=4","gravatar_id":"","url":"https://api.github.com/users/quan97dn","html_url":"https://github.com/quan97dn","followers_url":"https://api.github.com/users/quan97dn/followers","following_url":"https://api.github.com/users/quan97dn/following{/other_user}","gists_url":"https://api.github.com/users/quan97dn/gists{/gist_id}","starred_url":"https://api.github.com/users/quan97dn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quan97dn/subscriptions","organizations_url":"https://api.github.com/users/quan97dn/orgs","repos_url":"https://api.github.com/users/quan97dn/repos","events_url":"https://api.github.com/users/quan97dn/events{/privacy}","received_events_url":"https://api.github.com/users/quan97dn/received_events","type":"User","site_admin":false},"repo":{"id":127860270,"name":"sample_app","full_name":"quan97dn/sample_app","owner":{"login":"quan97dn","id":18684197,"avatar_url":"https://avatars3.githubusercontent.com/u/18684197?v=4","gravatar_id":"","url":"https://api.github.com/users/quan97dn","html_url":"https://github.com/quan97dn","followers_url":"https://api.github.com/users/quan97dn/followers","following_url":"https://api.github.com/users/quan97dn/following{/other_user}","gists_url":"https://api.github.com/users/quan97dn/gists{/gist_id}","starred_url":"https://api.github.com/users/quan97dn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quan97dn/subscriptions","organizations_url":"https://api.github.com/users/quan97dn/orgs","repos_url":"https://api.github.com/users/quan97dn/repos","events_url":"https://api.github.com/users/quan97dn/events{/privacy}","received_events_url":"https://api.github.com/users/quan97dn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quan97dn/sample_app","description":"training ruby framgia","fork":false,"url":"https://api.github.com/repos/quan97dn/sample_app","forks_url":"https://api.github.com/repos/quan97dn/sample_app/forks","keys_url":"https://api.github.com/repos/quan97dn/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quan97dn/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quan97dn/sample_app/teams","hooks_url":"https://api.github.com/repos/quan97dn/sample_app/hooks","issue_events_url":"https://api.github.com/repos/quan97dn/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/quan97dn/sample_app/events","assignees_url":"https://api.github.com/repos/quan97dn/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/quan97dn/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/quan97dn/sample_app/tags","blobs_url":"https://api.github.com/repos/quan97dn/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quan97dn/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quan97dn/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/quan97dn/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quan97dn/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/quan97dn/sample_app/languages","stargazers_url":"https://api.github.com/repos/quan97dn/sample_app/stargazers","contributors_url":"https://api.github.com/repos/quan97dn/sample_app/contributors","subscribers_url":"https://api.github.com/repos/quan97dn/sample_app/subscribers","subscription_url":"https://api.github.com/repos/quan97dn/sample_app/subscription","commits_url":"https://api.github.com/repos/quan97dn/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/quan97dn/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/quan97dn/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/quan97dn/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/quan97dn/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/quan97dn/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quan97dn/sample_app/merges","archive_url":"https://api.github.com/repos/quan97dn/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quan97dn/sample_app/downloads","issues_url":"https://api.github.com/repos/quan97dn/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/quan97dn/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/quan97dn/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/quan97dn/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quan97dn/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/quan97dn/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/quan97dn/sample_app/deployments","created_at":"2018-04-03T06:16:18Z","updated_at":"2018-04-11T01:36:34Z","pushed_at":"2018-04-11T09:28:21Z","git_url":"git://github.com/quan97dn/sample_app.git","ssh_url":"git@github.com:quan97dn/sample_app.git","clone_url":"https://github.com/quan97dn/sample_app.git","svn_url":"https://github.com/quan97dn/sample_app","homepage":null,"size":256,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"quan97dn:develop","ref":"develop","sha":"53973fbbfc5180e9df23ed5e146cbb5cad16877c","user":{"login":"quan97dn","id":18684197,"avatar_url":"https://avatars3.githubusercontent.com/u/18684197?v=4","gravatar_id":"","url":"https://api.github.com/users/quan97dn","html_url":"https://github.com/quan97dn","followers_url":"https://api.github.com/users/quan97dn/followers","following_url":"https://api.github.com/users/quan97dn/following{/other_user}","gists_url":"https://api.github.com/users/quan97dn/gists{/gist_id}","starred_url":"https://api.github.com/users/quan97dn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quan97dn/subscriptions","organizations_url":"https://api.github.com/users/quan97dn/orgs","repos_url":"https://api.github.com/users/quan97dn/repos","events_url":"https://api.github.com/users/quan97dn/events{/privacy}","received_events_url":"https://api.github.com/users/quan97dn/received_events","type":"User","site_admin":false},"repo":{"id":127860270,"name":"sample_app","full_name":"quan97dn/sample_app","owner":{"login":"quan97dn","id":18684197,"avatar_url":"https://avatars3.githubusercontent.com/u/18684197?v=4","gravatar_id":"","url":"https://api.github.com/users/quan97dn","html_url":"https://github.com/quan97dn","followers_url":"https://api.github.com/users/quan97dn/followers","following_url":"https://api.github.com/users/quan97dn/following{/other_user}","gists_url":"https://api.github.com/users/quan97dn/gists{/gist_id}","starred_url":"https://api.github.com/users/quan97dn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quan97dn/subscriptions","organizations_url":"https://api.github.com/users/quan97dn/orgs","repos_url":"https://api.github.com/users/quan97dn/repos","events_url":"https://api.github.com/users/quan97dn/events{/privacy}","received_events_url":"https://api.github.com/users/quan97dn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quan97dn/sample_app","description":"training ruby framgia","fork":false,"url":"https://api.github.com/repos/quan97dn/sample_app","forks_url":"https://api.github.com/repos/quan97dn/sample_app/forks","keys_url":"https://api.github.com/repos/quan97dn/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quan97dn/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quan97dn/sample_app/teams","hooks_url":"https://api.github.com/repos/quan97dn/sample_app/hooks","issue_events_url":"https://api.github.com/repos/quan97dn/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/quan97dn/sample_app/events","assignees_url":"https://api.github.com/repos/quan97dn/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/quan97dn/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/quan97dn/sample_app/tags","blobs_url":"https://api.github.com/repos/quan97dn/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quan97dn/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quan97dn/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/quan97dn/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quan97dn/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/quan97dn/sample_app/languages","stargazers_url":"https://api.github.com/repos/quan97dn/sample_app/stargazers","contributors_url":"https://api.github.com/repos/quan97dn/sample_app/contributors","subscribers_url":"https://api.github.com/repos/quan97dn/sample_app/subscribers","subscription_url":"https://api.github.com/repos/quan97dn/sample_app/subscription","commits_url":"https://api.github.com/repos/quan97dn/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/quan97dn/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/quan97dn/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/quan97dn/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/quan97dn/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/quan97dn/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quan97dn/sample_app/merges","archive_url":"https://api.github.com/repos/quan97dn/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quan97dn/sample_app/downloads","issues_url":"https://api.github.com/repos/quan97dn/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/quan97dn/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/quan97dn/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/quan97dn/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quan97dn/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/quan97dn/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/quan97dn/sample_app/deployments","created_at":"2018-04-03T06:16:18Z","updated_at":"2018-04-11T01:36:34Z","pushed_at":"2018-04-11T09:28:21Z","git_url":"git://github.com/quan97dn/sample_app.git","ssh_url":"git@github.com:quan97dn/sample_app.git","clone_url":"https://github.com/quan97dn/sample_app.git","svn_url":"https://github.com/quan97dn/sample_app","homepage":null,"size":256,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/quan97dn/sample_app/pulls/7"},"html":{"href":"https://github.com/quan97dn/sample_app/pull/7"},"issue":{"href":"https://api.github.com/repos/quan97dn/sample_app/issues/7"},"comments":{"href":"https://api.github.com/repos/quan97dn/sample_app/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/quan97dn/sample_app/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/quan97dn/sample_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quan97dn/sample_app/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/quan97dn/sample_app/statuses/f1b87ea0dc11c2c596115a003ceee97e7b3a75ab"}},"author_association":"OWNER"}}
{"actor":{"display_login":"VuThiTranVan"}}