{"action":"created","comment":{"url":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/comments/109343632","pull_request_review_id":30438509,"id":109343632,"diff_hunk":"@@ -9,9 +9,11 @@ def index\n   def create\n     @message = Message.new(message_params)\n     if @message.save\n-      redirect_to group_messages_path, notice: \"メッセージが投稿されました\"\n+      respond_to do |format|\n+        format.html { redirect_to :group_messages, notice: \"メッセージが投稿されました\" }\n+        format.json\n+      end\n     else\n-      flash[:alert] = \"メッセージを入力してください\"","path":"app/controllers/messages_controller.rb","position":10,"original_position":10,"commit_id":"c15e4df328a248602f01ccb2b88fca68d815b254","original_commit_id":"58b900874575a28ee70081c500c3fc67e5ad4a2c","user":{"login":"itisasmallworld","id":26132848,"avatar_url":"https://avatars1.githubusercontent.com/u/26132848?v=3","gravatar_id":"","url":"https://api.github.com/users/itisasmallworld","html_url":"https://github.com/itisasmallworld","followers_url":"https://api.github.com/users/itisasmallworld/followers","following_url":"https://api.github.com/users/itisasmallworld/following{/other_user}","gists_url":"https://api.github.com/users/itisasmallworld/gists{/gist_id}","starred_url":"https://api.github.com/users/itisasmallworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itisasmallworld/subscriptions","organizations_url":"https://api.github.com/users/itisasmallworld/orgs","repos_url":"https://api.github.com/users/itisasmallworld/repos","events_url":"https://api.github.com/users/itisasmallworld/events{/privacy}","received_events_url":"https://api.github.com/users/itisasmallworld/received_events","type":"User","site_admin":false},"body":"承知しました。","created_at":"2017-04-03T05:54:10Z","updated_at":"2017-04-03T05:54:10Z","html_url":"https://github.com/itisasmallworld/chat-space/pull/18#discussion_r109343632","pull_request_url":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/comments/109343632"},"html":{"href":"https://github.com/itisasmallworld/chat-space/pull/18#discussion_r109343632"},"pull_request":{"href":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/18","id":113808980,"html_url":"https://github.com/itisasmallworld/chat-space/pull/18","diff_url":"https://github.com/itisasmallworld/chat-space/pull/18.diff","patch_url":"https://github.com/itisasmallworld/chat-space/pull/18.patch","issue_url":"https://api.github.com/repos/itisasmallworld/chat-space/issues/18","number":18,"state":"open","locked":false,"title":"Asynchronous transmission of posting message","user":{"login":"itisasmallworld","id":26132848,"avatar_url":"https://avatars1.githubusercontent.com/u/26132848?v=3","gravatar_id":"","url":"https://api.github.com/users/itisasmallworld","html_url":"https://github.com/itisasmallworld","followers_url":"https://api.github.com/users/itisasmallworld/followers","following_url":"https://api.github.com/users/itisasmallworld/following{/other_user}","gists_url":"https://api.github.com/users/itisasmallworld/gists{/gist_id}","starred_url":"https://api.github.com/users/itisasmallworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itisasmallworld/subscriptions","organizations_url":"https://api.github.com/users/itisasmallworld/orgs","repos_url":"https://api.github.com/users/itisasmallworld/repos","events_url":"https://api.github.com/users/itisasmallworld/events{/privacy}","received_events_url":"https://api.github.com/users/itisasmallworld/received_events","type":"User","site_admin":false},"body":"# What\r\n- メッセージ送信機能のAPIの作成\r\n- メッセージ送信機能の非同期化\r\n# Why\r\n- ユーザビリティを高めるため","created_at":"2017-04-02T07:49:06Z","updated_at":"2017-04-03T05:54:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b94ccdd5fc1703724d7352b122e4b0a9ed5346aa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/18/commits","review_comments_url":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/18/comments","review_comment_url":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/itisasmallworld/chat-space/issues/18/comments","statuses_url":"https://api.github.com/repos/itisasmallworld/chat-space/statuses/c15e4df328a248602f01ccb2b88fca68d815b254","head":{"label":"itisasmallworld:Asynchronous-transmission-of-posting-message","ref":"Asynchronous-transmission-of-posting-message","sha":"c15e4df328a248602f01ccb2b88fca68d815b254","user":{"login":"itisasmallworld","id":26132848,"avatar_url":"https://avatars1.githubusercontent.com/u/26132848?v=3","gravatar_id":"","url":"https://api.github.com/users/itisasmallworld","html_url":"https://github.com/itisasmallworld","followers_url":"https://api.github.com/users/itisasmallworld/followers","following_url":"https://api.github.com/users/itisasmallworld/following{/other_user}","gists_url":"https://api.github.com/users/itisasmallworld/gists{/gist_id}","starred_url":"https://api.github.com/users/itisasmallworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itisasmallworld/subscriptions","organizations_url":"https://api.github.com/users/itisasmallworld/orgs","repos_url":"https://api.github.com/users/itisasmallworld/repos","events_url":"https://api.github.com/users/itisasmallworld/events{/privacy}","received_events_url":"https://api.github.com/users/itisasmallworld/received_events","type":"User","site_admin":false},"repo":{"id":83756813,"name":"chat-space","full_name":"itisasmallworld/chat-space","owner":{"login":"itisasmallworld","id":26132848,"avatar_url":"https://avatars1.githubusercontent.com/u/26132848?v=3","gravatar_id":"","url":"https://api.github.com/users/itisasmallworld","html_url":"https://github.com/itisasmallworld","followers_url":"https://api.github.com/users/itisasmallworld/followers","following_url":"https://api.github.com/users/itisasmallworld/following{/other_user}","gists_url":"https://api.github.com/users/itisasmallworld/gists{/gist_id}","starred_url":"https://api.github.com/users/itisasmallworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itisasmallworld/subscriptions","organizations_url":"https://api.github.com/users/itisasmallworld/orgs","repos_url":"https://api.github.com/users/itisasmallworld/repos","events_url":"https://api.github.com/users/itisasmallworld/events{/privacy}","received_events_url":"https://api.github.com/users/itisasmallworld/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itisasmallworld/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/itisasmallworld/chat-space","forks_url":"https://api.github.com/repos/itisasmallworld/chat-space/forks","keys_url":"https://api.github.com/repos/itisasmallworld/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itisasmallworld/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itisasmallworld/chat-space/teams","hooks_url":"https://api.github.com/repos/itisasmallworld/chat-space/hooks","issue_events_url":"https://api.github.com/repos/itisasmallworld/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/itisasmallworld/chat-space/events","assignees_url":"https://api.github.com/repos/itisasmallworld/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/itisasmallworld/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/itisasmallworld/chat-space/tags","blobs_url":"https://api.github.com/repos/itisasmallworld/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itisasmallworld/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itisasmallworld/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/itisasmallworld/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itisasmallworld/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/itisasmallworld/chat-space/languages","stargazers_url":"https://api.github.com/repos/itisasmallworld/chat-space/stargazers","contributors_url":"https://api.github.com/repos/itisasmallworld/chat-space/contributors","subscribers_url":"https://api.github.com/repos/itisasmallworld/chat-space/subscribers","subscription_url":"https://api.github.com/repos/itisasmallworld/chat-space/subscription","commits_url":"https://api.github.com/repos/itisasmallworld/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/itisasmallworld/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/itisasmallworld/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/itisasmallworld/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/itisasmallworld/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/itisasmallworld/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itisasmallworld/chat-space/merges","archive_url":"https://api.github.com/repos/itisasmallworld/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itisasmallworld/chat-space/downloads","issues_url":"https://api.github.com/repos/itisasmallworld/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/itisasmallworld/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/itisasmallworld/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/itisasmallworld/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itisasmallworld/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/itisasmallworld/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/itisasmallworld/chat-space/deployments","created_at":"2017-03-03T04:20:25Z","updated_at":"2017-03-03T04:20:33Z","pushed_at":"2017-04-03T05:53:32Z","git_url":"git://github.com/itisasmallworld/chat-space.git","ssh_url":"git@github.com:itisasmallworld/chat-space.git","clone_url":"https://github.com/itisasmallworld/chat-space.git","svn_url":"https://github.com/itisasmallworld/chat-space","homepage":null,"size":111,"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":"itisasmallworld:master","ref":"master","sha":"0d869b00fa950014febfb1596308b5a46c385796","user":{"login":"itisasmallworld","id":26132848,"avatar_url":"https://avatars1.githubusercontent.com/u/26132848?v=3","gravatar_id":"","url":"https://api.github.com/users/itisasmallworld","html_url":"https://github.com/itisasmallworld","followers_url":"https://api.github.com/users/itisasmallworld/followers","following_url":"https://api.github.com/users/itisasmallworld/following{/other_user}","gists_url":"https://api.github.com/users/itisasmallworld/gists{/gist_id}","starred_url":"https://api.github.com/users/itisasmallworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itisasmallworld/subscriptions","organizations_url":"https://api.github.com/users/itisasmallworld/orgs","repos_url":"https://api.github.com/users/itisasmallworld/repos","events_url":"https://api.github.com/users/itisasmallworld/events{/privacy}","received_events_url":"https://api.github.com/users/itisasmallworld/received_events","type":"User","site_admin":false},"repo":{"id":83756813,"name":"chat-space","full_name":"itisasmallworld/chat-space","owner":{"login":"itisasmallworld","id":26132848,"avatar_url":"https://avatars1.githubusercontent.com/u/26132848?v=3","gravatar_id":"","url":"https://api.github.com/users/itisasmallworld","html_url":"https://github.com/itisasmallworld","followers_url":"https://api.github.com/users/itisasmallworld/followers","following_url":"https://api.github.com/users/itisasmallworld/following{/other_user}","gists_url":"https://api.github.com/users/itisasmallworld/gists{/gist_id}","starred_url":"https://api.github.com/users/itisasmallworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itisasmallworld/subscriptions","organizations_url":"https://api.github.com/users/itisasmallworld/orgs","repos_url":"https://api.github.com/users/itisasmallworld/repos","events_url":"https://api.github.com/users/itisasmallworld/events{/privacy}","received_events_url":"https://api.github.com/users/itisasmallworld/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itisasmallworld/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/itisasmallworld/chat-space","forks_url":"https://api.github.com/repos/itisasmallworld/chat-space/forks","keys_url":"https://api.github.com/repos/itisasmallworld/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itisasmallworld/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itisasmallworld/chat-space/teams","hooks_url":"https://api.github.com/repos/itisasmallworld/chat-space/hooks","issue_events_url":"https://api.github.com/repos/itisasmallworld/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/itisasmallworld/chat-space/events","assignees_url":"https://api.github.com/repos/itisasmallworld/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/itisasmallworld/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/itisasmallworld/chat-space/tags","blobs_url":"https://api.github.com/repos/itisasmallworld/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itisasmallworld/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itisasmallworld/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/itisasmallworld/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itisasmallworld/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/itisasmallworld/chat-space/languages","stargazers_url":"https://api.github.com/repos/itisasmallworld/chat-space/stargazers","contributors_url":"https://api.github.com/repos/itisasmallworld/chat-space/contributors","subscribers_url":"https://api.github.com/repos/itisasmallworld/chat-space/subscribers","subscription_url":"https://api.github.com/repos/itisasmallworld/chat-space/subscription","commits_url":"https://api.github.com/repos/itisasmallworld/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/itisasmallworld/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/itisasmallworld/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/itisasmallworld/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/itisasmallworld/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/itisasmallworld/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itisasmallworld/chat-space/merges","archive_url":"https://api.github.com/repos/itisasmallworld/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itisasmallworld/chat-space/downloads","issues_url":"https://api.github.com/repos/itisasmallworld/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/itisasmallworld/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/itisasmallworld/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/itisasmallworld/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itisasmallworld/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/itisasmallworld/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/itisasmallworld/chat-space/deployments","created_at":"2017-03-03T04:20:25Z","updated_at":"2017-03-03T04:20:33Z","pushed_at":"2017-04-03T05:53:32Z","git_url":"git://github.com/itisasmallworld/chat-space.git","ssh_url":"git@github.com:itisasmallworld/chat-space.git","clone_url":"https://github.com/itisasmallworld/chat-space.git","svn_url":"https://github.com/itisasmallworld/chat-space","homepage":null,"size":111,"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/itisasmallworld/chat-space/pulls/18"},"html":{"href":"https://github.com/itisasmallworld/chat-space/pull/18"},"issue":{"href":"https://api.github.com/repos/itisasmallworld/chat-space/issues/18"},"comments":{"href":"https://api.github.com/repos/itisasmallworld/chat-space/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/itisasmallworld/chat-space/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/itisasmallworld/chat-space/statuses/c15e4df328a248602f01ccb2b88fca68d815b254"}}}}
{"actor":{"display_login":"itisasmallworld"}}