{"action":"created","comment":{"url":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/comments/173373154","pull_request_review_id":102552697,"id":173373154,"diff_hunk":"@@ -9,8 +9,13 @@ def index\n \n   def create\n     @message = @group.messages.new(message_params)\n+\n     if @message.save\n-      redirect_to group_messages_path(@group), notice: 'メッセージが送信されました'\n+      respond_to do |format|\n+        format.html{\n+          redirect_to group_messages_path(@group), notice: 'メッセージが送信されました'}","path":"app/controllers/messages_controller.rb","position":9,"original_position":9,"commit_id":"fa1faca6558f18758ba47ef29931dffe3eb4d176","original_commit_id":"fa1faca6558f18758ba47ef29931dffe3eb4d176","user":{"login":"hirozak","id":23318454,"avatar_url":"https://avatars3.githubusercontent.com/u/23318454?v=4","gravatar_id":"","url":"https://api.github.com/users/hirozak","html_url":"https://github.com/hirozak","followers_url":"https://api.github.com/users/hirozak/followers","following_url":"https://api.github.com/users/hirozak/following{/other_user}","gists_url":"https://api.github.com/users/hirozak/gists{/gist_id}","starred_url":"https://api.github.com/users/hirozak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hirozak/subscriptions","organizations_url":"https://api.github.com/users/hirozak/orgs","repos_url":"https://api.github.com/users/hirozak/repos","events_url":"https://api.github.com/users/hirozak/events{/privacy}","received_events_url":"https://api.github.com/users/hirozak/received_events","type":"User","site_admin":false},"body":"改行しなくてもいいです","created_at":"2018-03-09T06:21:22Z","updated_at":"2018-03-09T06:22:11Z","html_url":"https://github.com/z22takaiakira/chat-space/pull/9#discussion_r173373154","pull_request_url":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/9","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/comments/173373154"},"html":{"href":"https://github.com/z22takaiakira/chat-space/pull/9#discussion_r173373154"},"pull_request":{"href":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/9","id":173913877,"html_url":"https://github.com/z22takaiakira/chat-space/pull/9","diff_url":"https://github.com/z22takaiakira/chat-space/pull/9.diff","patch_url":"https://github.com/z22takaiakira/chat-space/pull/9.patch","issue_url":"https://api.github.com/repos/z22takaiakira/chat-space/issues/9","number":9,"state":"open","locked":false,"title":"メッセージ送信機能の非同期通信化","user":{"login":"z22takaiakira","id":36428749,"avatar_url":"https://avatars3.githubusercontent.com/u/36428749?v=4","gravatar_id":"","url":"https://api.github.com/users/z22takaiakira","html_url":"https://github.com/z22takaiakira","followers_url":"https://api.github.com/users/z22takaiakira/followers","following_url":"https://api.github.com/users/z22takaiakira/following{/other_user}","gists_url":"https://api.github.com/users/z22takaiakira/gists{/gist_id}","starred_url":"https://api.github.com/users/z22takaiakira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z22takaiakira/subscriptions","organizations_url":"https://api.github.com/users/z22takaiakira/orgs","repos_url":"https://api.github.com/users/z22takaiakira/repos","events_url":"https://api.github.com/users/z22takaiakira/events{/privacy}","received_events_url":"https://api.github.com/users/z22takaiakira/received_events","type":"User","site_admin":false},"body":"What :メッセージを非同期で送信する機能を追加\nwhy：利用時の操作性を向上させるため","created_at":"2018-03-09T04:01:44Z","updated_at":"2018-03-09T06:22:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e21a48af250b69203874bb1dd27a35e1a69993a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/9/commits","review_comments_url":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/9/comments","review_comment_url":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/z22takaiakira/chat-space/issues/9/comments","statuses_url":"https://api.github.com/repos/z22takaiakira/chat-space/statuses/fa1faca6558f18758ba47ef29931dffe3eb4d176","head":{"label":"z22takaiakira:asynchronous-function","ref":"asynchronous-function","sha":"fa1faca6558f18758ba47ef29931dffe3eb4d176","user":{"login":"z22takaiakira","id":36428749,"avatar_url":"https://avatars3.githubusercontent.com/u/36428749?v=4","gravatar_id":"","url":"https://api.github.com/users/z22takaiakira","html_url":"https://github.com/z22takaiakira","followers_url":"https://api.github.com/users/z22takaiakira/followers","following_url":"https://api.github.com/users/z22takaiakira/following{/other_user}","gists_url":"https://api.github.com/users/z22takaiakira/gists{/gist_id}","starred_url":"https://api.github.com/users/z22takaiakira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z22takaiakira/subscriptions","organizations_url":"https://api.github.com/users/z22takaiakira/orgs","repos_url":"https://api.github.com/users/z22takaiakira/repos","events_url":"https://api.github.com/users/z22takaiakira/events{/privacy}","received_events_url":"https://api.github.com/users/z22takaiakira/received_events","type":"User","site_admin":false},"repo":{"id":122017591,"name":"chat-space","full_name":"z22takaiakira/chat-space","owner":{"login":"z22takaiakira","id":36428749,"avatar_url":"https://avatars3.githubusercontent.com/u/36428749?v=4","gravatar_id":"","url":"https://api.github.com/users/z22takaiakira","html_url":"https://github.com/z22takaiakira","followers_url":"https://api.github.com/users/z22takaiakira/followers","following_url":"https://api.github.com/users/z22takaiakira/following{/other_user}","gists_url":"https://api.github.com/users/z22takaiakira/gists{/gist_id}","starred_url":"https://api.github.com/users/z22takaiakira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z22takaiakira/subscriptions","organizations_url":"https://api.github.com/users/z22takaiakira/orgs","repos_url":"https://api.github.com/users/z22takaiakira/repos","events_url":"https://api.github.com/users/z22takaiakira/events{/privacy}","received_events_url":"https://api.github.com/users/z22takaiakira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/z22takaiakira/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/z22takaiakira/chat-space","forks_url":"https://api.github.com/repos/z22takaiakira/chat-space/forks","keys_url":"https://api.github.com/repos/z22takaiakira/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/z22takaiakira/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/z22takaiakira/chat-space/teams","hooks_url":"https://api.github.com/repos/z22takaiakira/chat-space/hooks","issue_events_url":"https://api.github.com/repos/z22takaiakira/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/z22takaiakira/chat-space/events","assignees_url":"https://api.github.com/repos/z22takaiakira/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/z22takaiakira/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/z22takaiakira/chat-space/tags","blobs_url":"https://api.github.com/repos/z22takaiakira/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/z22takaiakira/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/z22takaiakira/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/z22takaiakira/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/z22takaiakira/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/z22takaiakira/chat-space/languages","stargazers_url":"https://api.github.com/repos/z22takaiakira/chat-space/stargazers","contributors_url":"https://api.github.com/repos/z22takaiakira/chat-space/contributors","subscribers_url":"https://api.github.com/repos/z22takaiakira/chat-space/subscribers","subscription_url":"https://api.github.com/repos/z22takaiakira/chat-space/subscription","commits_url":"https://api.github.com/repos/z22takaiakira/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/z22takaiakira/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/z22takaiakira/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/z22takaiakira/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/z22takaiakira/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/z22takaiakira/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/z22takaiakira/chat-space/merges","archive_url":"https://api.github.com/repos/z22takaiakira/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/z22takaiakira/chat-space/downloads","issues_url":"https://api.github.com/repos/z22takaiakira/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/z22takaiakira/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/z22takaiakira/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/z22takaiakira/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/z22takaiakira/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/z22takaiakira/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/z22takaiakira/chat-space/deployments","created_at":"2018-02-19T04:07:20Z","updated_at":"2018-02-19T04:10:07Z","pushed_at":"2018-03-09T06:08:48Z","git_url":"git://github.com/z22takaiakira/chat-space.git","ssh_url":"git@github.com:z22takaiakira/chat-space.git","clone_url":"https://github.com/z22takaiakira/chat-space.git","svn_url":"https://github.com/z22takaiakira/chat-space","homepage":null,"size":2529,"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":"z22takaiakira:master","ref":"master","sha":"bbc07e5a54919ee90baa91c0b2da990cd35a9c25","user":{"login":"z22takaiakira","id":36428749,"avatar_url":"https://avatars3.githubusercontent.com/u/36428749?v=4","gravatar_id":"","url":"https://api.github.com/users/z22takaiakira","html_url":"https://github.com/z22takaiakira","followers_url":"https://api.github.com/users/z22takaiakira/followers","following_url":"https://api.github.com/users/z22takaiakira/following{/other_user}","gists_url":"https://api.github.com/users/z22takaiakira/gists{/gist_id}","starred_url":"https://api.github.com/users/z22takaiakira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z22takaiakira/subscriptions","organizations_url":"https://api.github.com/users/z22takaiakira/orgs","repos_url":"https://api.github.com/users/z22takaiakira/repos","events_url":"https://api.github.com/users/z22takaiakira/events{/privacy}","received_events_url":"https://api.github.com/users/z22takaiakira/received_events","type":"User","site_admin":false},"repo":{"id":122017591,"name":"chat-space","full_name":"z22takaiakira/chat-space","owner":{"login":"z22takaiakira","id":36428749,"avatar_url":"https://avatars3.githubusercontent.com/u/36428749?v=4","gravatar_id":"","url":"https://api.github.com/users/z22takaiakira","html_url":"https://github.com/z22takaiakira","followers_url":"https://api.github.com/users/z22takaiakira/followers","following_url":"https://api.github.com/users/z22takaiakira/following{/other_user}","gists_url":"https://api.github.com/users/z22takaiakira/gists{/gist_id}","starred_url":"https://api.github.com/users/z22takaiakira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z22takaiakira/subscriptions","organizations_url":"https://api.github.com/users/z22takaiakira/orgs","repos_url":"https://api.github.com/users/z22takaiakira/repos","events_url":"https://api.github.com/users/z22takaiakira/events{/privacy}","received_events_url":"https://api.github.com/users/z22takaiakira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/z22takaiakira/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/z22takaiakira/chat-space","forks_url":"https://api.github.com/repos/z22takaiakira/chat-space/forks","keys_url":"https://api.github.com/repos/z22takaiakira/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/z22takaiakira/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/z22takaiakira/chat-space/teams","hooks_url":"https://api.github.com/repos/z22takaiakira/chat-space/hooks","issue_events_url":"https://api.github.com/repos/z22takaiakira/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/z22takaiakira/chat-space/events","assignees_url":"https://api.github.com/repos/z22takaiakira/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/z22takaiakira/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/z22takaiakira/chat-space/tags","blobs_url":"https://api.github.com/repos/z22takaiakira/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/z22takaiakira/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/z22takaiakira/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/z22takaiakira/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/z22takaiakira/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/z22takaiakira/chat-space/languages","stargazers_url":"https://api.github.com/repos/z22takaiakira/chat-space/stargazers","contributors_url":"https://api.github.com/repos/z22takaiakira/chat-space/contributors","subscribers_url":"https://api.github.com/repos/z22takaiakira/chat-space/subscribers","subscription_url":"https://api.github.com/repos/z22takaiakira/chat-space/subscription","commits_url":"https://api.github.com/repos/z22takaiakira/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/z22takaiakira/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/z22takaiakira/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/z22takaiakira/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/z22takaiakira/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/z22takaiakira/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/z22takaiakira/chat-space/merges","archive_url":"https://api.github.com/repos/z22takaiakira/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/z22takaiakira/chat-space/downloads","issues_url":"https://api.github.com/repos/z22takaiakira/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/z22takaiakira/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/z22takaiakira/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/z22takaiakira/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/z22takaiakira/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/z22takaiakira/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/z22takaiakira/chat-space/deployments","created_at":"2018-02-19T04:07:20Z","updated_at":"2018-02-19T04:10:07Z","pushed_at":"2018-03-09T06:08:48Z","git_url":"git://github.com/z22takaiakira/chat-space.git","ssh_url":"git@github.com:z22takaiakira/chat-space.git","clone_url":"https://github.com/z22takaiakira/chat-space.git","svn_url":"https://github.com/z22takaiakira/chat-space","homepage":null,"size":2529,"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/z22takaiakira/chat-space/pulls/9"},"html":{"href":"https://github.com/z22takaiakira/chat-space/pull/9"},"issue":{"href":"https://api.github.com/repos/z22takaiakira/chat-space/issues/9"},"comments":{"href":"https://api.github.com/repos/z22takaiakira/chat-space/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/z22takaiakira/chat-space/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/z22takaiakira/chat-space/statuses/fa1faca6558f18758ba47ef29931dffe3eb4d176"}},"author_association":"OWNER"}}
{"actor":{"display_login":"hirozak"}}