{"action":"created","comment":{"url":"https://api.github.com/repos/Ninhptit/sample_app/pulls/comments/194283857","pull_request_review_id":127424239,"id":194283857,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDI4Mzg1Nw==","diff_hunk":"@@ -0,0 +1,8 @@\n+<li>\n+  <%= gravatar_for user, size: Settings.gravatar_user_size %>\n+  <%= link_to user.name, user %>\n+  <% if current_user.admin? && !current_user?(user) %>\n+    |<%= link_to t(\"users.user.delete\"), user, method: :delete,\n+      data: { confirm: \"You sure?\" } %>","path":"app/views/users/_user.html.erb","position":6,"original_position":6,"commit_id":"fa16f7dee622cbb56881cfdfa955cbd97d3f960e","original_commit_id":"fa16f7dee622cbb56881cfdfa955cbd97d3f960e","user":{"login":"hungnh103","id":22311747,"node_id":"MDQ6VXNlcjIyMzExNzQ3","avatar_url":"https://avatars0.githubusercontent.com/u/22311747?v=4","gravatar_id":"","url":"https://api.github.com/users/hungnh103","html_url":"https://github.com/hungnh103","followers_url":"https://api.github.com/users/hungnh103/followers","following_url":"https://api.github.com/users/hungnh103/following{/other_user}","gists_url":"https://api.github.com/users/hungnh103/gists{/gist_id}","starred_url":"https://api.github.com/users/hungnh103/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungnh103/subscriptions","organizations_url":"https://api.github.com/users/hungnh103/orgs","repos_url":"https://api.github.com/users/hungnh103/repos","events_url":"https://api.github.com/users/hungnh103/events{/privacy}","received_events_url":"https://api.github.com/users/hungnh103/received_events","type":"User","site_admin":false},"body":"- convention: xóa khoảng trắng thừa\r\n- I18n","created_at":"2018-06-11T02:53:04Z","updated_at":"2018-06-11T02:53:30Z","html_url":"https://github.com/Ninhptit/sample_app/pull/7#discussion_r194283857","pull_request_url":"https://api.github.com/repos/Ninhptit/sample_app/pulls/7","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Ninhptit/sample_app/pulls/comments/194283857"},"html":{"href":"https://github.com/Ninhptit/sample_app/pull/7#discussion_r194283857"},"pull_request":{"href":"https://api.github.com/repos/Ninhptit/sample_app/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Ninhptit/sample_app/pulls/7","id":193544235,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNTQ0MjM1","html_url":"https://github.com/Ninhptit/sample_app/pull/7","diff_url":"https://github.com/Ninhptit/sample_app/pull/7.diff","patch_url":"https://github.com/Ninhptit/sample_app/pull/7.patch","issue_url":"https://api.github.com/repos/Ninhptit/sample_app/issues/7","number":7,"state":"open","locked":false,"title":"Chapter 10: Updating, showing, and deleting users","user":{"login":"Ninhptit","id":39693243,"node_id":"MDQ6VXNlcjM5NjkzMjQz","avatar_url":"https://avatars1.githubusercontent.com/u/39693243?v=4","gravatar_id":"","url":"https://api.github.com/users/Ninhptit","html_url":"https://github.com/Ninhptit","followers_url":"https://api.github.com/users/Ninhptit/followers","following_url":"https://api.github.com/users/Ninhptit/following{/other_user}","gists_url":"https://api.github.com/users/Ninhptit/gists{/gist_id}","starred_url":"https://api.github.com/users/Ninhptit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ninhptit/subscriptions","organizations_url":"https://api.github.com/users/Ninhptit/orgs","repos_url":"https://api.github.com/users/Ninhptit/repos","events_url":"https://api.github.com/users/Ninhptit/events{/privacy}","received_events_url":"https://api.github.com/users/Ninhptit/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-08T08:35:29Z","updated_at":"2018-06-11T02:53:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c93b41869013057bc608fc624ed568b649d206e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ninhptit/sample_app/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Ninhptit/sample_app/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Ninhptit/sample_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ninhptit/sample_app/issues/7/comments","statuses_url":"https://api.github.com/repos/Ninhptit/sample_app/statuses/fa16f7dee622cbb56881cfdfa955cbd97d3f960e","head":{"label":"Ninhptit:chapter_10","ref":"chapter_10","sha":"fa16f7dee622cbb56881cfdfa955cbd97d3f960e","user":{"login":"Ninhptit","id":39693243,"node_id":"MDQ6VXNlcjM5NjkzMjQz","avatar_url":"https://avatars1.githubusercontent.com/u/39693243?v=4","gravatar_id":"","url":"https://api.github.com/users/Ninhptit","html_url":"https://github.com/Ninhptit","followers_url":"https://api.github.com/users/Ninhptit/followers","following_url":"https://api.github.com/users/Ninhptit/following{/other_user}","gists_url":"https://api.github.com/users/Ninhptit/gists{/gist_id}","starred_url":"https://api.github.com/users/Ninhptit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ninhptit/subscriptions","organizations_url":"https://api.github.com/users/Ninhptit/orgs","repos_url":"https://api.github.com/users/Ninhptit/repos","events_url":"https://api.github.com/users/Ninhptit/events{/privacy}","received_events_url":"https://api.github.com/users/Ninhptit/received_events","type":"User","site_admin":false},"repo":{"id":136100371,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxMDAzNzE=","name":"sample_app","full_name":"Ninhptit/sample_app","owner":{"login":"Ninhptit","id":39693243,"node_id":"MDQ6VXNlcjM5NjkzMjQz","avatar_url":"https://avatars1.githubusercontent.com/u/39693243?v=4","gravatar_id":"","url":"https://api.github.com/users/Ninhptit","html_url":"https://github.com/Ninhptit","followers_url":"https://api.github.com/users/Ninhptit/followers","following_url":"https://api.github.com/users/Ninhptit/following{/other_user}","gists_url":"https://api.github.com/users/Ninhptit/gists{/gist_id}","starred_url":"https://api.github.com/users/Ninhptit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ninhptit/subscriptions","organizations_url":"https://api.github.com/users/Ninhptit/orgs","repos_url":"https://api.github.com/users/Ninhptit/repos","events_url":"https://api.github.com/users/Ninhptit/events{/privacy}","received_events_url":"https://api.github.com/users/Ninhptit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ninhptit/sample_app","description":null,"fork":false,"url":"https://api.github.com/repos/Ninhptit/sample_app","forks_url":"https://api.github.com/repos/Ninhptit/sample_app/forks","keys_url":"https://api.github.com/repos/Ninhptit/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ninhptit/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ninhptit/sample_app/teams","hooks_url":"https://api.github.com/repos/Ninhptit/sample_app/hooks","issue_events_url":"https://api.github.com/repos/Ninhptit/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/Ninhptit/sample_app/events","assignees_url":"https://api.github.com/repos/Ninhptit/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/Ninhptit/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/Ninhptit/sample_app/tags","blobs_url":"https://api.github.com/repos/Ninhptit/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ninhptit/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ninhptit/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ninhptit/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ninhptit/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/Ninhptit/sample_app/languages","stargazers_url":"https://api.github.com/repos/Ninhptit/sample_app/stargazers","contributors_url":"https://api.github.com/repos/Ninhptit/sample_app/contributors","subscribers_url":"https://api.github.com/repos/Ninhptit/sample_app/subscribers","subscription_url":"https://api.github.com/repos/Ninhptit/sample_app/subscription","commits_url":"https://api.github.com/repos/Ninhptit/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ninhptit/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ninhptit/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ninhptit/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ninhptit/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/Ninhptit/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ninhptit/sample_app/merges","archive_url":"https://api.github.com/repos/Ninhptit/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ninhptit/sample_app/downloads","issues_url":"https://api.github.com/repos/Ninhptit/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/Ninhptit/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/Ninhptit/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/Ninhptit/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ninhptit/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/Ninhptit/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/Ninhptit/sample_app/deployments","created_at":"2018-06-05T01:05:21Z","updated_at":"2018-06-08T05:17:18Z","pushed_at":"2018-06-08T09:59:20Z","git_url":"git://github.com/Ninhptit/sample_app.git","ssh_url":"git@github.com:Ninhptit/sample_app.git","clone_url":"https://github.com/Ninhptit/sample_app.git","svn_url":"https://github.com/Ninhptit/sample_app","homepage":null,"size":87,"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":"master"}},"base":{"label":"Ninhptit:master","ref":"master","sha":"432cb23d71a8f10064065f225520eeaa42147546","user":{"login":"Ninhptit","id":39693243,"node_id":"MDQ6VXNlcjM5NjkzMjQz","avatar_url":"https://avatars1.githubusercontent.com/u/39693243?v=4","gravatar_id":"","url":"https://api.github.com/users/Ninhptit","html_url":"https://github.com/Ninhptit","followers_url":"https://api.github.com/users/Ninhptit/followers","following_url":"https://api.github.com/users/Ninhptit/following{/other_user}","gists_url":"https://api.github.com/users/Ninhptit/gists{/gist_id}","starred_url":"https://api.github.com/users/Ninhptit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ninhptit/subscriptions","organizations_url":"https://api.github.com/users/Ninhptit/orgs","repos_url":"https://api.github.com/users/Ninhptit/repos","events_url":"https://api.github.com/users/Ninhptit/events{/privacy}","received_events_url":"https://api.github.com/users/Ninhptit/received_events","type":"User","site_admin":false},"repo":{"id":136100371,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxMDAzNzE=","name":"sample_app","full_name":"Ninhptit/sample_app","owner":{"login":"Ninhptit","id":39693243,"node_id":"MDQ6VXNlcjM5NjkzMjQz","avatar_url":"https://avatars1.githubusercontent.com/u/39693243?v=4","gravatar_id":"","url":"https://api.github.com/users/Ninhptit","html_url":"https://github.com/Ninhptit","followers_url":"https://api.github.com/users/Ninhptit/followers","following_url":"https://api.github.com/users/Ninhptit/following{/other_user}","gists_url":"https://api.github.com/users/Ninhptit/gists{/gist_id}","starred_url":"https://api.github.com/users/Ninhptit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ninhptit/subscriptions","organizations_url":"https://api.github.com/users/Ninhptit/orgs","repos_url":"https://api.github.com/users/Ninhptit/repos","events_url":"https://api.github.com/users/Ninhptit/events{/privacy}","received_events_url":"https://api.github.com/users/Ninhptit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ninhptit/sample_app","description":null,"fork":false,"url":"https://api.github.com/repos/Ninhptit/sample_app","forks_url":"https://api.github.com/repos/Ninhptit/sample_app/forks","keys_url":"https://api.github.com/repos/Ninhptit/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ninhptit/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ninhptit/sample_app/teams","hooks_url":"https://api.github.com/repos/Ninhptit/sample_app/hooks","issue_events_url":"https://api.github.com/repos/Ninhptit/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/Ninhptit/sample_app/events","assignees_url":"https://api.github.com/repos/Ninhptit/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/Ninhptit/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/Ninhptit/sample_app/tags","blobs_url":"https://api.github.com/repos/Ninhptit/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ninhptit/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ninhptit/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ninhptit/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ninhptit/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/Ninhptit/sample_app/languages","stargazers_url":"https://api.github.com/repos/Ninhptit/sample_app/stargazers","contributors_url":"https://api.github.com/repos/Ninhptit/sample_app/contributors","subscribers_url":"https://api.github.com/repos/Ninhptit/sample_app/subscribers","subscription_url":"https://api.github.com/repos/Ninhptit/sample_app/subscription","commits_url":"https://api.github.com/repos/Ninhptit/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ninhptit/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ninhptit/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ninhptit/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ninhptit/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/Ninhptit/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ninhptit/sample_app/merges","archive_url":"https://api.github.com/repos/Ninhptit/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ninhptit/sample_app/downloads","issues_url":"https://api.github.com/repos/Ninhptit/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/Ninhptit/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/Ninhptit/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/Ninhptit/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ninhptit/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/Ninhptit/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/Ninhptit/sample_app/deployments","created_at":"2018-06-05T01:05:21Z","updated_at":"2018-06-08T05:17:18Z","pushed_at":"2018-06-08T09:59:20Z","git_url":"git://github.com/Ninhptit/sample_app.git","ssh_url":"git@github.com:Ninhptit/sample_app.git","clone_url":"https://github.com/Ninhptit/sample_app.git","svn_url":"https://github.com/Ninhptit/sample_app","homepage":null,"size":87,"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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ninhptit/sample_app/pulls/7"},"html":{"href":"https://github.com/Ninhptit/sample_app/pull/7"},"issue":{"href":"https://api.github.com/repos/Ninhptit/sample_app/issues/7"},"comments":{"href":"https://api.github.com/repos/Ninhptit/sample_app/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Ninhptit/sample_app/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Ninhptit/sample_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ninhptit/sample_app/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Ninhptit/sample_app/statuses/fa16f7dee622cbb56881cfdfa955cbd97d3f960e"}},"author_association":"OWNER"}}
{"actor":{"display_login":"hungnh103"}}