{"action":"created","comment":{"url":"https://api.github.com/repos/udon9/kadai/pulls/comments/80925607","pull_request_review_id":1943777,"id":80925607,"diff_hunk":"@@ -0,0 +1,42 @@\n+class MessagesController < ApplicationController\n+    \n+    def index\n+        @user = User.find(params[:user_id])\n+        @messages = Message.all\n+    end\n+    \n+    def show\n+        @user = User.find(params[:user_id])\n+        @message = Message.find(params[:id])\n+        @reply = Reply.new\n+        @reply.message = @message\n+    end\n+    \n+    def create","path":"app/controllers/messages_controller.rb","position":15,"original_position":15,"commit_id":"d550d41fae3920ac51bf885aba162722341697a8","original_commit_id":"d550d41fae3920ac51bf885aba162722341697a8","user":{"login":"udon9","id":19523447,"avatar_url":"https://avatars.githubusercontent.com/u/19523447?v=3","gravatar_id":"","url":"https://api.github.com/users/udon9","html_url":"https://github.com/udon9","followers_url":"https://api.github.com/users/udon9/followers","following_url":"https://api.github.com/users/udon9/following{/other_user}","gists_url":"https://api.github.com/users/udon9/gists{/gist_id}","starred_url":"https://api.github.com/users/udon9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udon9/subscriptions","organizations_url":"https://api.github.com/users/udon9/orgs","repos_url":"https://api.github.com/users/udon9/repos","events_url":"https://api.github.com/users/udon9/events{/privacy}","received_events_url":"https://api.github.com/users/udon9/received_events","type":"User","site_admin":false},"body":"修正しました","created_at":"2016-09-28T14:12:41Z","updated_at":"2016-09-28T14:12:41Z","html_url":"https://github.com/udon9/kadai/pull/1#discussion_r80925607","pull_request_url":"https://api.github.com/repos/udon9/kadai/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/udon9/kadai/pulls/comments/80925607"},"html":{"href":"https://github.com/udon9/kadai/pull/1#discussion_r80925607"},"pull_request":{"href":"https://api.github.com/repos/udon9/kadai/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/udon9/kadai/pulls/1","id":87096894,"html_url":"https://github.com/udon9/kadai/pull/1","diff_url":"https://github.com/udon9/kadai/pull/1.diff","patch_url":"https://github.com/udon9/kadai/pull/1.patch","issue_url":"https://api.github.com/repos/udon9/kadai/issues/1","number":1,"state":"open","locked":false,"title":"コードレビュー1","user":{"login":"kuzukuzu","id":3271606,"avatar_url":"https://avatars.githubusercontent.com/u/3271606?v=3","gravatar_id":"","url":"https://api.github.com/users/kuzukuzu","html_url":"https://github.com/kuzukuzu","followers_url":"https://api.github.com/users/kuzukuzu/followers","following_url":"https://api.github.com/users/kuzukuzu/following{/other_user}","gists_url":"https://api.github.com/users/kuzukuzu/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzukuzu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzukuzu/subscriptions","organizations_url":"https://api.github.com/users/kuzukuzu/orgs","repos_url":"https://api.github.com/users/kuzukuzu/repos","events_url":"https://api.github.com/users/kuzukuzu/events{/privacy}","received_events_url":"https://api.github.com/users/kuzukuzu/received_events","type":"User","site_admin":false},"body":"- 主にバックエンド側の処理を中心にレビュー","created_at":"2016-09-28T10:54:44Z","updated_at":"2016-09-28T14:12:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a714d24c8b139139cacffbd82e9cdef84fdc338","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/udon9/kadai/pulls/1/commits","review_comments_url":"https://api.github.com/repos/udon9/kadai/pulls/1/comments","review_comment_url":"https://api.github.com/repos/udon9/kadai/pulls/comments{/number}","comments_url":"https://api.github.com/repos/udon9/kadai/issues/1/comments","statuses_url":"https://api.github.com/repos/udon9/kadai/statuses/d550d41fae3920ac51bf885aba162722341697a8","head":{"label":"udon9:pre-review","ref":"pre-review","sha":"d550d41fae3920ac51bf885aba162722341697a8","user":{"login":"udon9","id":19523447,"avatar_url":"https://avatars.githubusercontent.com/u/19523447?v=3","gravatar_id":"","url":"https://api.github.com/users/udon9","html_url":"https://github.com/udon9","followers_url":"https://api.github.com/users/udon9/followers","following_url":"https://api.github.com/users/udon9/following{/other_user}","gists_url":"https://api.github.com/users/udon9/gists{/gist_id}","starred_url":"https://api.github.com/users/udon9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udon9/subscriptions","organizations_url":"https://api.github.com/users/udon9/orgs","repos_url":"https://api.github.com/users/udon9/repos","events_url":"https://api.github.com/users/udon9/events{/privacy}","received_events_url":"https://api.github.com/users/udon9/received_events","type":"User","site_admin":false},"repo":{"id":69423898,"name":"kadai","full_name":"udon9/kadai","owner":{"login":"udon9","id":19523447,"avatar_url":"https://avatars.githubusercontent.com/u/19523447?v=3","gravatar_id":"","url":"https://api.github.com/users/udon9","html_url":"https://github.com/udon9","followers_url":"https://api.github.com/users/udon9/followers","following_url":"https://api.github.com/users/udon9/following{/other_user}","gists_url":"https://api.github.com/users/udon9/gists{/gist_id}","starred_url":"https://api.github.com/users/udon9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udon9/subscriptions","organizations_url":"https://api.github.com/users/udon9/orgs","repos_url":"https://api.github.com/users/udon9/repos","events_url":"https://api.github.com/users/udon9/events{/privacy}","received_events_url":"https://api.github.com/users/udon9/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/udon9/kadai","description":null,"fork":false,"url":"https://api.github.com/repos/udon9/kadai","forks_url":"https://api.github.com/repos/udon9/kadai/forks","keys_url":"https://api.github.com/repos/udon9/kadai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/udon9/kadai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/udon9/kadai/teams","hooks_url":"https://api.github.com/repos/udon9/kadai/hooks","issue_events_url":"https://api.github.com/repos/udon9/kadai/issues/events{/number}","events_url":"https://api.github.com/repos/udon9/kadai/events","assignees_url":"https://api.github.com/repos/udon9/kadai/assignees{/user}","branches_url":"https://api.github.com/repos/udon9/kadai/branches{/branch}","tags_url":"https://api.github.com/repos/udon9/kadai/tags","blobs_url":"https://api.github.com/repos/udon9/kadai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/udon9/kadai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/udon9/kadai/git/refs{/sha}","trees_url":"https://api.github.com/repos/udon9/kadai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/udon9/kadai/statuses/{sha}","languages_url":"https://api.github.com/repos/udon9/kadai/languages","stargazers_url":"https://api.github.com/repos/udon9/kadai/stargazers","contributors_url":"https://api.github.com/repos/udon9/kadai/contributors","subscribers_url":"https://api.github.com/repos/udon9/kadai/subscribers","subscription_url":"https://api.github.com/repos/udon9/kadai/subscription","commits_url":"https://api.github.com/repos/udon9/kadai/commits{/sha}","git_commits_url":"https://api.github.com/repos/udon9/kadai/git/commits{/sha}","comments_url":"https://api.github.com/repos/udon9/kadai/comments{/number}","issue_comment_url":"https://api.github.com/repos/udon9/kadai/issues/comments{/number}","contents_url":"https://api.github.com/repos/udon9/kadai/contents/{+path}","compare_url":"https://api.github.com/repos/udon9/kadai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/udon9/kadai/merges","archive_url":"https://api.github.com/repos/udon9/kadai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/udon9/kadai/downloads","issues_url":"https://api.github.com/repos/udon9/kadai/issues{/number}","pulls_url":"https://api.github.com/repos/udon9/kadai/pulls{/number}","milestones_url":"https://api.github.com/repos/udon9/kadai/milestones{/number}","notifications_url":"https://api.github.com/repos/udon9/kadai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/udon9/kadai/labels{/name}","releases_url":"https://api.github.com/repos/udon9/kadai/releases{/id}","deployments_url":"https://api.github.com/repos/udon9/kadai/deployments","created_at":"2016-09-28T03:59:17Z","updated_at":"2016-09-28T10:52:25Z","pushed_at":"2016-09-28T10:54:44Z","git_url":"git://github.com/udon9/kadai.git","ssh_url":"git@github.com:udon9/kadai.git","clone_url":"https://github.com/udon9/kadai.git","svn_url":"https://github.com/udon9/kadai","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":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":"udon9:master","ref":"master","sha":"88d76b2b0b1936ff5074d41590a796f6f3e9573b","user":{"login":"udon9","id":19523447,"avatar_url":"https://avatars.githubusercontent.com/u/19523447?v=3","gravatar_id":"","url":"https://api.github.com/users/udon9","html_url":"https://github.com/udon9","followers_url":"https://api.github.com/users/udon9/followers","following_url":"https://api.github.com/users/udon9/following{/other_user}","gists_url":"https://api.github.com/users/udon9/gists{/gist_id}","starred_url":"https://api.github.com/users/udon9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udon9/subscriptions","organizations_url":"https://api.github.com/users/udon9/orgs","repos_url":"https://api.github.com/users/udon9/repos","events_url":"https://api.github.com/users/udon9/events{/privacy}","received_events_url":"https://api.github.com/users/udon9/received_events","type":"User","site_admin":false},"repo":{"id":69423898,"name":"kadai","full_name":"udon9/kadai","owner":{"login":"udon9","id":19523447,"avatar_url":"https://avatars.githubusercontent.com/u/19523447?v=3","gravatar_id":"","url":"https://api.github.com/users/udon9","html_url":"https://github.com/udon9","followers_url":"https://api.github.com/users/udon9/followers","following_url":"https://api.github.com/users/udon9/following{/other_user}","gists_url":"https://api.github.com/users/udon9/gists{/gist_id}","starred_url":"https://api.github.com/users/udon9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udon9/subscriptions","organizations_url":"https://api.github.com/users/udon9/orgs","repos_url":"https://api.github.com/users/udon9/repos","events_url":"https://api.github.com/users/udon9/events{/privacy}","received_events_url":"https://api.github.com/users/udon9/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/udon9/kadai","description":null,"fork":false,"url":"https://api.github.com/repos/udon9/kadai","forks_url":"https://api.github.com/repos/udon9/kadai/forks","keys_url":"https://api.github.com/repos/udon9/kadai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/udon9/kadai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/udon9/kadai/teams","hooks_url":"https://api.github.com/repos/udon9/kadai/hooks","issue_events_url":"https://api.github.com/repos/udon9/kadai/issues/events{/number}","events_url":"https://api.github.com/repos/udon9/kadai/events","assignees_url":"https://api.github.com/repos/udon9/kadai/assignees{/user}","branches_url":"https://api.github.com/repos/udon9/kadai/branches{/branch}","tags_url":"https://api.github.com/repos/udon9/kadai/tags","blobs_url":"https://api.github.com/repos/udon9/kadai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/udon9/kadai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/udon9/kadai/git/refs{/sha}","trees_url":"https://api.github.com/repos/udon9/kadai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/udon9/kadai/statuses/{sha}","languages_url":"https://api.github.com/repos/udon9/kadai/languages","stargazers_url":"https://api.github.com/repos/udon9/kadai/stargazers","contributors_url":"https://api.github.com/repos/udon9/kadai/contributors","subscribers_url":"https://api.github.com/repos/udon9/kadai/subscribers","subscription_url":"https://api.github.com/repos/udon9/kadai/subscription","commits_url":"https://api.github.com/repos/udon9/kadai/commits{/sha}","git_commits_url":"https://api.github.com/repos/udon9/kadai/git/commits{/sha}","comments_url":"https://api.github.com/repos/udon9/kadai/comments{/number}","issue_comment_url":"https://api.github.com/repos/udon9/kadai/issues/comments{/number}","contents_url":"https://api.github.com/repos/udon9/kadai/contents/{+path}","compare_url":"https://api.github.com/repos/udon9/kadai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/udon9/kadai/merges","archive_url":"https://api.github.com/repos/udon9/kadai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/udon9/kadai/downloads","issues_url":"https://api.github.com/repos/udon9/kadai/issues{/number}","pulls_url":"https://api.github.com/repos/udon9/kadai/pulls{/number}","milestones_url":"https://api.github.com/repos/udon9/kadai/milestones{/number}","notifications_url":"https://api.github.com/repos/udon9/kadai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/udon9/kadai/labels{/name}","releases_url":"https://api.github.com/repos/udon9/kadai/releases{/id}","deployments_url":"https://api.github.com/repos/udon9/kadai/deployments","created_at":"2016-09-28T03:59:17Z","updated_at":"2016-09-28T10:52:25Z","pushed_at":"2016-09-28T10:54:44Z","git_url":"git://github.com/udon9/kadai.git","ssh_url":"git@github.com:udon9/kadai.git","clone_url":"https://github.com/udon9/kadai.git","svn_url":"https://github.com/udon9/kadai","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":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/udon9/kadai/pulls/1"},"html":{"href":"https://github.com/udon9/kadai/pull/1"},"issue":{"href":"https://api.github.com/repos/udon9/kadai/issues/1"},"comments":{"href":"https://api.github.com/repos/udon9/kadai/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/udon9/kadai/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/udon9/kadai/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/udon9/kadai/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/udon9/kadai/statuses/d550d41fae3920ac51bf885aba162722341697a8"}}}}
{"actor":{"display_login":"udon9"}}