{"action":"created","comment":{"url":"https://api.github.com/repos/iiizukaa/chat-space/pulls/comments/129750693","pull_request_review_id":52554481,"id":129750693,"diff_hunk":"@@ -0,0 +1,19 @@\n+class UsersController < ApplicationController\n+  def edit\n+    @user = User.find(params[:id])","path":"app/controllers/users_controller.rb","position":3,"original_position":3,"commit_id":"3eb5cdaefe11d37fae804c128ecdcf95fa9426a7","original_commit_id":"3eb5cdaefe11d37fae804c128ecdcf95fa9426a7","user":{"login":"oyaoyaoya","id":15155163,"avatar_url":"https://avatars1.githubusercontent.com/u/15155163?v=4","gravatar_id":"","url":"https://api.github.com/users/oyaoyaoya","html_url":"https://github.com/oyaoyaoya","followers_url":"https://api.github.com/users/oyaoyaoya/followers","following_url":"https://api.github.com/users/oyaoyaoya/following{/other_user}","gists_url":"https://api.github.com/users/oyaoyaoya/gists{/gist_id}","starred_url":"https://api.github.com/users/oyaoyaoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oyaoyaoya/subscriptions","organizations_url":"https://api.github.com/users/oyaoyaoya/orgs","repos_url":"https://api.github.com/users/oyaoyaoya/repos","events_url":"https://api.github.com/users/oyaoyaoya/events{/privacy}","received_events_url":"https://api.github.com/users/oyaoyaoya/received_events","type":"User","site_admin":false},"body":" @user = User.find(params[:id])\r\nの記述がupdateアクションと重複しているので、DRYにしましょう。\r\n","created_at":"2017-07-27T04:18:09Z","updated_at":"2017-07-27T04:21:21Z","html_url":"https://github.com/iiizukaa/chat-space/pull/5#discussion_r129750693","pull_request_url":"https://api.github.com/repos/iiizukaa/chat-space/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/iiizukaa/chat-space/pulls/comments/129750693"},"html":{"href":"https://github.com/iiizukaa/chat-space/pull/5#discussion_r129750693"},"pull_request":{"href":"https://api.github.com/repos/iiizukaa/chat-space/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/iiizukaa/chat-space/pulls/5","id":132661882,"html_url":"https://github.com/iiizukaa/chat-space/pull/5","diff_url":"https://github.com/iiizukaa/chat-space/pull/5.diff","patch_url":"https://github.com/iiizukaa/chat-space/pull/5.patch","issue_url":"https://api.github.com/repos/iiizukaa/chat-space/issues/5","number":5,"state":"open","locked":false,"title":"ユーザー編集機能の追加","user":{"login":"iiizukaa","id":25663473,"avatar_url":"https://avatars0.githubusercontent.com/u/25663473?v=4","gravatar_id":"","url":"https://api.github.com/users/iiizukaa","html_url":"https://github.com/iiizukaa","followers_url":"https://api.github.com/users/iiizukaa/followers","following_url":"https://api.github.com/users/iiizukaa/following{/other_user}","gists_url":"https://api.github.com/users/iiizukaa/gists{/gist_id}","starred_url":"https://api.github.com/users/iiizukaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiizukaa/subscriptions","organizations_url":"https://api.github.com/users/iiizukaa/orgs","repos_url":"https://api.github.com/users/iiizukaa/repos","events_url":"https://api.github.com/users/iiizukaa/events{/privacy}","received_events_url":"https://api.github.com/users/iiizukaa/received_events","type":"User","site_admin":false},"body":"# WHAT\r\nユーザー編集機能の追加\r\n# WHY\r\n必須機能のため","created_at":"2017-07-27T04:09:57Z","updated_at":"2017-07-27T04:21:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"570e2d23e2ae2ef5b14f71ee7188bc9714601385","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/iiizukaa/chat-space/pulls/5/commits","review_comments_url":"https://api.github.com/repos/iiizukaa/chat-space/pulls/5/comments","review_comment_url":"https://api.github.com/repos/iiizukaa/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iiizukaa/chat-space/issues/5/comments","statuses_url":"https://api.github.com/repos/iiizukaa/chat-space/statuses/3eb5cdaefe11d37fae804c128ecdcf95fa9426a7","head":{"label":"iiizukaa:user-edit","ref":"user-edit","sha":"3eb5cdaefe11d37fae804c128ecdcf95fa9426a7","user":{"login":"iiizukaa","id":25663473,"avatar_url":"https://avatars0.githubusercontent.com/u/25663473?v=4","gravatar_id":"","url":"https://api.github.com/users/iiizukaa","html_url":"https://github.com/iiizukaa","followers_url":"https://api.github.com/users/iiizukaa/followers","following_url":"https://api.github.com/users/iiizukaa/following{/other_user}","gists_url":"https://api.github.com/users/iiizukaa/gists{/gist_id}","starred_url":"https://api.github.com/users/iiizukaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiizukaa/subscriptions","organizations_url":"https://api.github.com/users/iiizukaa/orgs","repos_url":"https://api.github.com/users/iiizukaa/repos","events_url":"https://api.github.com/users/iiizukaa/events{/privacy}","received_events_url":"https://api.github.com/users/iiizukaa/received_events","type":"User","site_admin":false},"repo":{"id":98146792,"name":"chat-space","full_name":"iiizukaa/chat-space","owner":{"login":"iiizukaa","id":25663473,"avatar_url":"https://avatars0.githubusercontent.com/u/25663473?v=4","gravatar_id":"","url":"https://api.github.com/users/iiizukaa","html_url":"https://github.com/iiizukaa","followers_url":"https://api.github.com/users/iiizukaa/followers","following_url":"https://api.github.com/users/iiizukaa/following{/other_user}","gists_url":"https://api.github.com/users/iiizukaa/gists{/gist_id}","starred_url":"https://api.github.com/users/iiizukaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiizukaa/subscriptions","organizations_url":"https://api.github.com/users/iiizukaa/orgs","repos_url":"https://api.github.com/users/iiizukaa/repos","events_url":"https://api.github.com/users/iiizukaa/events{/privacy}","received_events_url":"https://api.github.com/users/iiizukaa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iiizukaa/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/iiizukaa/chat-space","forks_url":"https://api.github.com/repos/iiizukaa/chat-space/forks","keys_url":"https://api.github.com/repos/iiizukaa/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iiizukaa/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iiizukaa/chat-space/teams","hooks_url":"https://api.github.com/repos/iiizukaa/chat-space/hooks","issue_events_url":"https://api.github.com/repos/iiizukaa/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/iiizukaa/chat-space/events","assignees_url":"https://api.github.com/repos/iiizukaa/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/iiizukaa/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/iiizukaa/chat-space/tags","blobs_url":"https://api.github.com/repos/iiizukaa/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iiizukaa/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iiizukaa/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/iiizukaa/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iiizukaa/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/iiizukaa/chat-space/languages","stargazers_url":"https://api.github.com/repos/iiizukaa/chat-space/stargazers","contributors_url":"https://api.github.com/repos/iiizukaa/chat-space/contributors","subscribers_url":"https://api.github.com/repos/iiizukaa/chat-space/subscribers","subscription_url":"https://api.github.com/repos/iiizukaa/chat-space/subscription","commits_url":"https://api.github.com/repos/iiizukaa/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/iiizukaa/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/iiizukaa/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/iiizukaa/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/iiizukaa/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/iiizukaa/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iiizukaa/chat-space/merges","archive_url":"https://api.github.com/repos/iiizukaa/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iiizukaa/chat-space/downloads","issues_url":"https://api.github.com/repos/iiizukaa/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/iiizukaa/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/iiizukaa/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/iiizukaa/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iiizukaa/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/iiizukaa/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/iiizukaa/chat-space/deployments","created_at":"2017-07-24T03:46:48Z","updated_at":"2017-07-24T03:46:57Z","pushed_at":"2017-07-27T04:09:58Z","git_url":"git://github.com/iiizukaa/chat-space.git","ssh_url":"git@github.com:iiizukaa/chat-space.git","clone_url":"https://github.com/iiizukaa/chat-space.git","svn_url":"https://github.com/iiizukaa/chat-space","homepage":null,"size":53,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"iiizukaa:master","ref":"master","sha":"7684c4fe4c8d723aeca84cea2cdd813232e06b83","user":{"login":"iiizukaa","id":25663473,"avatar_url":"https://avatars0.githubusercontent.com/u/25663473?v=4","gravatar_id":"","url":"https://api.github.com/users/iiizukaa","html_url":"https://github.com/iiizukaa","followers_url":"https://api.github.com/users/iiizukaa/followers","following_url":"https://api.github.com/users/iiizukaa/following{/other_user}","gists_url":"https://api.github.com/users/iiizukaa/gists{/gist_id}","starred_url":"https://api.github.com/users/iiizukaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiizukaa/subscriptions","organizations_url":"https://api.github.com/users/iiizukaa/orgs","repos_url":"https://api.github.com/users/iiizukaa/repos","events_url":"https://api.github.com/users/iiizukaa/events{/privacy}","received_events_url":"https://api.github.com/users/iiizukaa/received_events","type":"User","site_admin":false},"repo":{"id":98146792,"name":"chat-space","full_name":"iiizukaa/chat-space","owner":{"login":"iiizukaa","id":25663473,"avatar_url":"https://avatars0.githubusercontent.com/u/25663473?v=4","gravatar_id":"","url":"https://api.github.com/users/iiizukaa","html_url":"https://github.com/iiizukaa","followers_url":"https://api.github.com/users/iiizukaa/followers","following_url":"https://api.github.com/users/iiizukaa/following{/other_user}","gists_url":"https://api.github.com/users/iiizukaa/gists{/gist_id}","starred_url":"https://api.github.com/users/iiizukaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiizukaa/subscriptions","organizations_url":"https://api.github.com/users/iiizukaa/orgs","repos_url":"https://api.github.com/users/iiizukaa/repos","events_url":"https://api.github.com/users/iiizukaa/events{/privacy}","received_events_url":"https://api.github.com/users/iiizukaa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iiizukaa/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/iiizukaa/chat-space","forks_url":"https://api.github.com/repos/iiizukaa/chat-space/forks","keys_url":"https://api.github.com/repos/iiizukaa/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iiizukaa/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iiizukaa/chat-space/teams","hooks_url":"https://api.github.com/repos/iiizukaa/chat-space/hooks","issue_events_url":"https://api.github.com/repos/iiizukaa/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/iiizukaa/chat-space/events","assignees_url":"https://api.github.com/repos/iiizukaa/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/iiizukaa/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/iiizukaa/chat-space/tags","blobs_url":"https://api.github.com/repos/iiizukaa/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iiizukaa/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iiizukaa/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/iiizukaa/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iiizukaa/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/iiizukaa/chat-space/languages","stargazers_url":"https://api.github.com/repos/iiizukaa/chat-space/stargazers","contributors_url":"https://api.github.com/repos/iiizukaa/chat-space/contributors","subscribers_url":"https://api.github.com/repos/iiizukaa/chat-space/subscribers","subscription_url":"https://api.github.com/repos/iiizukaa/chat-space/subscription","commits_url":"https://api.github.com/repos/iiizukaa/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/iiizukaa/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/iiizukaa/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/iiizukaa/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/iiizukaa/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/iiizukaa/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iiizukaa/chat-space/merges","archive_url":"https://api.github.com/repos/iiizukaa/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iiizukaa/chat-space/downloads","issues_url":"https://api.github.com/repos/iiizukaa/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/iiizukaa/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/iiizukaa/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/iiizukaa/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iiizukaa/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/iiizukaa/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/iiizukaa/chat-space/deployments","created_at":"2017-07-24T03:46:48Z","updated_at":"2017-07-24T03:46:57Z","pushed_at":"2017-07-27T04:09:58Z","git_url":"git://github.com/iiizukaa/chat-space.git","ssh_url":"git@github.com:iiizukaa/chat-space.git","clone_url":"https://github.com/iiizukaa/chat-space.git","svn_url":"https://github.com/iiizukaa/chat-space","homepage":null,"size":53,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iiizukaa/chat-space/pulls/5"},"html":{"href":"https://github.com/iiizukaa/chat-space/pull/5"},"issue":{"href":"https://api.github.com/repos/iiizukaa/chat-space/issues/5"},"comments":{"href":"https://api.github.com/repos/iiizukaa/chat-space/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/iiizukaa/chat-space/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/iiizukaa/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iiizukaa/chat-space/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/iiizukaa/chat-space/statuses/3eb5cdaefe11d37fae804c128ecdcf95fa9426a7"}}}}
{"actor":{"display_login":"oyaoyaoya"}}