{"action":"created","comment":{"url":"https://api.github.com/repos/amira-014/chat-space/pulls/comments/114046587","pull_request_review_id":35489789,"id":114046587,"diff_hunk":"@@ -3,11 +3,10 @@ class GroupsController < ApplicationController\n   before_action :set_group, only: [:show, :edit, :update]\n \n   def index\n-    @groups = Group.all\n+    @groups = current_user.groups\n   end\n \n   def show","path":"app/controllers/groups_controller.rb","position":8,"original_position":8,"commit_id":"a4575f24962647fe282d10d55e4b8b60cf59bfbf","original_commit_id":"a4575f24962647fe282d10d55e4b8b60cf59bfbf","user":{"login":"amira-014","id":26765093,"avatar_url":"https://avatars0.githubusercontent.com/u/26765093?v=3","gravatar_id":"","url":"https://api.github.com/users/amira-014","html_url":"https://github.com/amira-014","followers_url":"https://api.github.com/users/amira-014/followers","following_url":"https://api.github.com/users/amira-014/following{/other_user}","gists_url":"https://api.github.com/users/amira-014/gists{/gist_id}","starred_url":"https://api.github.com/users/amira-014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amira-014/subscriptions","organizations_url":"https://api.github.com/users/amira-014/orgs","repos_url":"https://api.github.com/users/amira-014/repos","events_url":"https://api.github.com/users/amira-014/events{/privacy}","received_events_url":"https://api.github.com/users/amira-014/received_events","type":"User","site_admin":false},"body":"修正しました。","created_at":"2017-04-29T05:24:41Z","updated_at":"2017-04-29T05:24:41Z","html_url":"https://github.com/amira-014/chat-space/pull/13#discussion_r114046587","pull_request_url":"https://api.github.com/repos/amira-014/chat-space/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/amira-014/chat-space/pulls/comments/114046587"},"html":{"href":"https://github.com/amira-014/chat-space/pull/13#discussion_r114046587"},"pull_request":{"href":"https://api.github.com/repos/amira-014/chat-space/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/amira-014/chat-space/pulls/13","id":117953920,"html_url":"https://github.com/amira-014/chat-space/pull/13","diff_url":"https://github.com/amira-014/chat-space/pull/13.diff","patch_url":"https://github.com/amira-014/chat-space/pull/13.patch","issue_url":"https://api.github.com/repos/amira-014/chat-space/issues/13","number":13,"state":"open","locked":false,"title":"メッセージ送信機能の実装","user":{"login":"amira-014","id":26765093,"avatar_url":"https://avatars0.githubusercontent.com/u/26765093?v=3","gravatar_id":"","url":"https://api.github.com/users/amira-014","html_url":"https://github.com/amira-014","followers_url":"https://api.github.com/users/amira-014/followers","following_url":"https://api.github.com/users/amira-014/following{/other_user}","gists_url":"https://api.github.com/users/amira-014/gists{/gist_id}","starred_url":"https://api.github.com/users/amira-014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amira-014/subscriptions","organizations_url":"https://api.github.com/users/amira-014/orgs","repos_url":"https://api.github.com/users/amira-014/repos","events_url":"https://api.github.com/users/amira-014/events{/privacy}","received_events_url":"https://api.github.com/users/amira-014/received_events","type":"User","site_admin":false},"body":"# WHAT\nメッセージ送信機能を実装する\n# WHY\nChatSpaceに必要な機能だから","created_at":"2017-04-27T14:36:09Z","updated_at":"2017-04-29T05:24:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"359dace48df9d43b015b6f0141f878a87f54b3e4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/amira-014/chat-space/pulls/13/commits","review_comments_url":"https://api.github.com/repos/amira-014/chat-space/pulls/13/comments","review_comment_url":"https://api.github.com/repos/amira-014/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amira-014/chat-space/issues/13/comments","statuses_url":"https://api.github.com/repos/amira-014/chat-space/statuses/a4575f24962647fe282d10d55e4b8b60cf59bfbf","head":{"label":"amira-014:Implement-Post-Message-Function","ref":"Implement-Post-Message-Function","sha":"a4575f24962647fe282d10d55e4b8b60cf59bfbf","user":{"login":"amira-014","id":26765093,"avatar_url":"https://avatars0.githubusercontent.com/u/26765093?v=3","gravatar_id":"","url":"https://api.github.com/users/amira-014","html_url":"https://github.com/amira-014","followers_url":"https://api.github.com/users/amira-014/followers","following_url":"https://api.github.com/users/amira-014/following{/other_user}","gists_url":"https://api.github.com/users/amira-014/gists{/gist_id}","starred_url":"https://api.github.com/users/amira-014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amira-014/subscriptions","organizations_url":"https://api.github.com/users/amira-014/orgs","repos_url":"https://api.github.com/users/amira-014/repos","events_url":"https://api.github.com/users/amira-014/events{/privacy}","received_events_url":"https://api.github.com/users/amira-014/received_events","type":"User","site_admin":false},"repo":{"id":86695498,"name":"chat-space","full_name":"amira-014/chat-space","owner":{"login":"amira-014","id":26765093,"avatar_url":"https://avatars0.githubusercontent.com/u/26765093?v=3","gravatar_id":"","url":"https://api.github.com/users/amira-014","html_url":"https://github.com/amira-014","followers_url":"https://api.github.com/users/amira-014/followers","following_url":"https://api.github.com/users/amira-014/following{/other_user}","gists_url":"https://api.github.com/users/amira-014/gists{/gist_id}","starred_url":"https://api.github.com/users/amira-014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amira-014/subscriptions","organizations_url":"https://api.github.com/users/amira-014/orgs","repos_url":"https://api.github.com/users/amira-014/repos","events_url":"https://api.github.com/users/amira-014/events{/privacy}","received_events_url":"https://api.github.com/users/amira-014/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amira-014/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/amira-014/chat-space","forks_url":"https://api.github.com/repos/amira-014/chat-space/forks","keys_url":"https://api.github.com/repos/amira-014/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amira-014/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amira-014/chat-space/teams","hooks_url":"https://api.github.com/repos/amira-014/chat-space/hooks","issue_events_url":"https://api.github.com/repos/amira-014/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/amira-014/chat-space/events","assignees_url":"https://api.github.com/repos/amira-014/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/amira-014/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/amira-014/chat-space/tags","blobs_url":"https://api.github.com/repos/amira-014/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amira-014/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amira-014/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/amira-014/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amira-014/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/amira-014/chat-space/languages","stargazers_url":"https://api.github.com/repos/amira-014/chat-space/stargazers","contributors_url":"https://api.github.com/repos/amira-014/chat-space/contributors","subscribers_url":"https://api.github.com/repos/amira-014/chat-space/subscribers","subscription_url":"https://api.github.com/repos/amira-014/chat-space/subscription","commits_url":"https://api.github.com/repos/amira-014/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/amira-014/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/amira-014/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/amira-014/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/amira-014/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/amira-014/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amira-014/chat-space/merges","archive_url":"https://api.github.com/repos/amira-014/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amira-014/chat-space/downloads","issues_url":"https://api.github.com/repos/amira-014/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/amira-014/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/amira-014/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/amira-014/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amira-014/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/amira-014/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/amira-014/chat-space/deployments","created_at":"2017-03-30T11:35:07Z","updated_at":"2017-03-30T11:41:30Z","pushed_at":"2017-04-29T04:22:00Z","git_url":"git://github.com/amira-014/chat-space.git","ssh_url":"git@github.com:amira-014/chat-space.git","clone_url":"https://github.com/amira-014/chat-space.git","svn_url":"https://github.com/amira-014/chat-space","homepage":null,"size":117,"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":"amira-014:master","ref":"master","sha":"1d459181f562e9622396a293b8612015ad03ead9","user":{"login":"amira-014","id":26765093,"avatar_url":"https://avatars0.githubusercontent.com/u/26765093?v=3","gravatar_id":"","url":"https://api.github.com/users/amira-014","html_url":"https://github.com/amira-014","followers_url":"https://api.github.com/users/amira-014/followers","following_url":"https://api.github.com/users/amira-014/following{/other_user}","gists_url":"https://api.github.com/users/amira-014/gists{/gist_id}","starred_url":"https://api.github.com/users/amira-014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amira-014/subscriptions","organizations_url":"https://api.github.com/users/amira-014/orgs","repos_url":"https://api.github.com/users/amira-014/repos","events_url":"https://api.github.com/users/amira-014/events{/privacy}","received_events_url":"https://api.github.com/users/amira-014/received_events","type":"User","site_admin":false},"repo":{"id":86695498,"name":"chat-space","full_name":"amira-014/chat-space","owner":{"login":"amira-014","id":26765093,"avatar_url":"https://avatars0.githubusercontent.com/u/26765093?v=3","gravatar_id":"","url":"https://api.github.com/users/amira-014","html_url":"https://github.com/amira-014","followers_url":"https://api.github.com/users/amira-014/followers","following_url":"https://api.github.com/users/amira-014/following{/other_user}","gists_url":"https://api.github.com/users/amira-014/gists{/gist_id}","starred_url":"https://api.github.com/users/amira-014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amira-014/subscriptions","organizations_url":"https://api.github.com/users/amira-014/orgs","repos_url":"https://api.github.com/users/amira-014/repos","events_url":"https://api.github.com/users/amira-014/events{/privacy}","received_events_url":"https://api.github.com/users/amira-014/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amira-014/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/amira-014/chat-space","forks_url":"https://api.github.com/repos/amira-014/chat-space/forks","keys_url":"https://api.github.com/repos/amira-014/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amira-014/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amira-014/chat-space/teams","hooks_url":"https://api.github.com/repos/amira-014/chat-space/hooks","issue_events_url":"https://api.github.com/repos/amira-014/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/amira-014/chat-space/events","assignees_url":"https://api.github.com/repos/amira-014/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/amira-014/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/amira-014/chat-space/tags","blobs_url":"https://api.github.com/repos/amira-014/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amira-014/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amira-014/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/amira-014/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amira-014/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/amira-014/chat-space/languages","stargazers_url":"https://api.github.com/repos/amira-014/chat-space/stargazers","contributors_url":"https://api.github.com/repos/amira-014/chat-space/contributors","subscribers_url":"https://api.github.com/repos/amira-014/chat-space/subscribers","subscription_url":"https://api.github.com/repos/amira-014/chat-space/subscription","commits_url":"https://api.github.com/repos/amira-014/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/amira-014/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/amira-014/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/amira-014/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/amira-014/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/amira-014/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amira-014/chat-space/merges","archive_url":"https://api.github.com/repos/amira-014/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amira-014/chat-space/downloads","issues_url":"https://api.github.com/repos/amira-014/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/amira-014/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/amira-014/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/amira-014/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amira-014/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/amira-014/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/amira-014/chat-space/deployments","created_at":"2017-03-30T11:35:07Z","updated_at":"2017-03-30T11:41:30Z","pushed_at":"2017-04-29T04:22:00Z","git_url":"git://github.com/amira-014/chat-space.git","ssh_url":"git@github.com:amira-014/chat-space.git","clone_url":"https://github.com/amira-014/chat-space.git","svn_url":"https://github.com/amira-014/chat-space","homepage":null,"size":117,"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/amira-014/chat-space/pulls/13"},"html":{"href":"https://github.com/amira-014/chat-space/pull/13"},"issue":{"href":"https://api.github.com/repos/amira-014/chat-space/issues/13"},"comments":{"href":"https://api.github.com/repos/amira-014/chat-space/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/amira-014/chat-space/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/amira-014/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amira-014/chat-space/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/amira-014/chat-space/statuses/a4575f24962647fe282d10d55e4b8b60cf59bfbf"}}}}
{"actor":{"display_login":"amira-014"}}