{"action":"created","comment":{"url":"https://api.github.com/repos/burabaor/chat-space/pulls/comments/89443530","pull_request_review_id":9987823,"id":89443530,"diff_hunk":"@@ -1,5 +1,34 @@\n class GroupsController < ApplicationController\n+  before_action :find_group, only: [:show, :edit, :update]\n+\n+  def index\n+  @all_groups = Group.all\n+  end\n+  def show","path":"app/controllers/groups_controller.rb","position":7,"original_position":7,"commit_id":"9560b378d95a9a9ce2f72cd1e2ce72b5797bdccc","original_commit_id":"9560b378d95a9a9ce2f72cd1e2ce72b5797bdccc","user":{"login":"kyohei0423","id":7753180,"avatar_url":"https://avatars.githubusercontent.com/u/7753180?v=3","gravatar_id":"","url":"https://api.github.com/users/kyohei0423","html_url":"https://github.com/kyohei0423","followers_url":"https://api.github.com/users/kyohei0423/followers","following_url":"https://api.github.com/users/kyohei0423/following{/other_user}","gists_url":"https://api.github.com/users/kyohei0423/gists{/gist_id}","starred_url":"https://api.github.com/users/kyohei0423/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyohei0423/subscriptions","organizations_url":"https://api.github.com/users/kyohei0423/orgs","repos_url":"https://api.github.com/users/kyohei0423/repos","events_url":"https://api.github.com/users/kyohei0423/events{/privacy}","received_events_url":"https://api.github.com/users/kyohei0423/received_events","type":"User","site_admin":false},"body":"groupsのルーティングにmessagesのリソースをネストさせてあげた方が良さそうだね！\r\n例えば、groups/1/messages\r\nみたいになるとグループの個別のメッセージの一覧が表示できそうだよね。","created_at":"2016-11-24T07:06:04Z","updated_at":"2016-11-24T07:14:14Z","html_url":"https://github.com/burabaor/chat-space/pull/15#discussion_r89443530","pull_request_url":"https://api.github.com/repos/burabaor/chat-space/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/burabaor/chat-space/pulls/comments/89443530"},"html":{"href":"https://github.com/burabaor/chat-space/pull/15#discussion_r89443530"},"pull_request":{"href":"https://api.github.com/repos/burabaor/chat-space/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/burabaor/chat-space/pulls/15","id":95110602,"html_url":"https://github.com/burabaor/chat-space/pull/15","diff_url":"https://github.com/burabaor/chat-space/pull/15.diff","patch_url":"https://github.com/burabaor/chat-space/pull/15.patch","issue_url":"https://api.github.com/repos/burabaor/chat-space/issues/15","number":15,"state":"open","locked":false,"title":"implement group making function","user":{"login":"burabaor","id":12219292,"avatar_url":"https://avatars.githubusercontent.com/u/12219292?v=3","gravatar_id":"","url":"https://api.github.com/users/burabaor","html_url":"https://github.com/burabaor","followers_url":"https://api.github.com/users/burabaor/followers","following_url":"https://api.github.com/users/burabaor/following{/other_user}","gists_url":"https://api.github.com/users/burabaor/gists{/gist_id}","starred_url":"https://api.github.com/users/burabaor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burabaor/subscriptions","organizations_url":"https://api.github.com/users/burabaor/orgs","repos_url":"https://api.github.com/users/burabaor/repos","events_url":"https://api.github.com/users/burabaor/events{/privacy}","received_events_url":"https://api.github.com/users/burabaor/received_events","type":"User","site_admin":false},"body":"# WHAT\n・グループの新規作成機能\n・グループの編集機能\n\n# WHY\n・チャットをするためにグループが必要なため\n\n※メンバーに関する機能は、viewも含め未実装","created_at":"2016-11-24T03:03:44Z","updated_at":"2016-11-24T07:14:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f087e6b740c6bd9ac21cec52bb6d4d5ef16448de","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/burabaor/chat-space/pulls/15/commits","review_comments_url":"https://api.github.com/repos/burabaor/chat-space/pulls/15/comments","review_comment_url":"https://api.github.com/repos/burabaor/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/burabaor/chat-space/issues/15/comments","statuses_url":"https://api.github.com/repos/burabaor/chat-space/statuses/9560b378d95a9a9ce2f72cd1e2ce72b5797bdccc","head":{"label":"burabaor:add-group-making-function","ref":"add-group-making-function","sha":"9560b378d95a9a9ce2f72cd1e2ce72b5797bdccc","user":{"login":"burabaor","id":12219292,"avatar_url":"https://avatars.githubusercontent.com/u/12219292?v=3","gravatar_id":"","url":"https://api.github.com/users/burabaor","html_url":"https://github.com/burabaor","followers_url":"https://api.github.com/users/burabaor/followers","following_url":"https://api.github.com/users/burabaor/following{/other_user}","gists_url":"https://api.github.com/users/burabaor/gists{/gist_id}","starred_url":"https://api.github.com/users/burabaor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burabaor/subscriptions","organizations_url":"https://api.github.com/users/burabaor/orgs","repos_url":"https://api.github.com/users/burabaor/repos","events_url":"https://api.github.com/users/burabaor/events{/privacy}","received_events_url":"https://api.github.com/users/burabaor/received_events","type":"User","site_admin":false},"repo":{"id":73440799,"name":"chat-space","full_name":"burabaor/chat-space","owner":{"login":"burabaor","id":12219292,"avatar_url":"https://avatars.githubusercontent.com/u/12219292?v=3","gravatar_id":"","url":"https://api.github.com/users/burabaor","html_url":"https://github.com/burabaor","followers_url":"https://api.github.com/users/burabaor/followers","following_url":"https://api.github.com/users/burabaor/following{/other_user}","gists_url":"https://api.github.com/users/burabaor/gists{/gist_id}","starred_url":"https://api.github.com/users/burabaor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burabaor/subscriptions","organizations_url":"https://api.github.com/users/burabaor/orgs","repos_url":"https://api.github.com/users/burabaor/repos","events_url":"https://api.github.com/users/burabaor/events{/privacy}","received_events_url":"https://api.github.com/users/burabaor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/burabaor/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/burabaor/chat-space","forks_url":"https://api.github.com/repos/burabaor/chat-space/forks","keys_url":"https://api.github.com/repos/burabaor/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/burabaor/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/burabaor/chat-space/teams","hooks_url":"https://api.github.com/repos/burabaor/chat-space/hooks","issue_events_url":"https://api.github.com/repos/burabaor/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/burabaor/chat-space/events","assignees_url":"https://api.github.com/repos/burabaor/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/burabaor/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/burabaor/chat-space/tags","blobs_url":"https://api.github.com/repos/burabaor/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/burabaor/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/burabaor/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/burabaor/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/burabaor/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/burabaor/chat-space/languages","stargazers_url":"https://api.github.com/repos/burabaor/chat-space/stargazers","contributors_url":"https://api.github.com/repos/burabaor/chat-space/contributors","subscribers_url":"https://api.github.com/repos/burabaor/chat-space/subscribers","subscription_url":"https://api.github.com/repos/burabaor/chat-space/subscription","commits_url":"https://api.github.com/repos/burabaor/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/burabaor/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/burabaor/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/burabaor/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/burabaor/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/burabaor/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/burabaor/chat-space/merges","archive_url":"https://api.github.com/repos/burabaor/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/burabaor/chat-space/downloads","issues_url":"https://api.github.com/repos/burabaor/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/burabaor/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/burabaor/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/burabaor/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/burabaor/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/burabaor/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/burabaor/chat-space/deployments","created_at":"2016-11-11T02:57:52Z","updated_at":"2016-11-11T02:58:02Z","pushed_at":"2016-11-24T06:51:28Z","git_url":"git://github.com/burabaor/chat-space.git","ssh_url":"git@github.com:burabaor/chat-space.git","clone_url":"https://github.com/burabaor/chat-space.git","svn_url":"https://github.com/burabaor/chat-space","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"burabaor:master","ref":"master","sha":"6859a7b0d8748ee4f7865004a79586c414d9d483","user":{"login":"burabaor","id":12219292,"avatar_url":"https://avatars.githubusercontent.com/u/12219292?v=3","gravatar_id":"","url":"https://api.github.com/users/burabaor","html_url":"https://github.com/burabaor","followers_url":"https://api.github.com/users/burabaor/followers","following_url":"https://api.github.com/users/burabaor/following{/other_user}","gists_url":"https://api.github.com/users/burabaor/gists{/gist_id}","starred_url":"https://api.github.com/users/burabaor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burabaor/subscriptions","organizations_url":"https://api.github.com/users/burabaor/orgs","repos_url":"https://api.github.com/users/burabaor/repos","events_url":"https://api.github.com/users/burabaor/events{/privacy}","received_events_url":"https://api.github.com/users/burabaor/received_events","type":"User","site_admin":false},"repo":{"id":73440799,"name":"chat-space","full_name":"burabaor/chat-space","owner":{"login":"burabaor","id":12219292,"avatar_url":"https://avatars.githubusercontent.com/u/12219292?v=3","gravatar_id":"","url":"https://api.github.com/users/burabaor","html_url":"https://github.com/burabaor","followers_url":"https://api.github.com/users/burabaor/followers","following_url":"https://api.github.com/users/burabaor/following{/other_user}","gists_url":"https://api.github.com/users/burabaor/gists{/gist_id}","starred_url":"https://api.github.com/users/burabaor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burabaor/subscriptions","organizations_url":"https://api.github.com/users/burabaor/orgs","repos_url":"https://api.github.com/users/burabaor/repos","events_url":"https://api.github.com/users/burabaor/events{/privacy}","received_events_url":"https://api.github.com/users/burabaor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/burabaor/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/burabaor/chat-space","forks_url":"https://api.github.com/repos/burabaor/chat-space/forks","keys_url":"https://api.github.com/repos/burabaor/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/burabaor/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/burabaor/chat-space/teams","hooks_url":"https://api.github.com/repos/burabaor/chat-space/hooks","issue_events_url":"https://api.github.com/repos/burabaor/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/burabaor/chat-space/events","assignees_url":"https://api.github.com/repos/burabaor/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/burabaor/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/burabaor/chat-space/tags","blobs_url":"https://api.github.com/repos/burabaor/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/burabaor/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/burabaor/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/burabaor/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/burabaor/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/burabaor/chat-space/languages","stargazers_url":"https://api.github.com/repos/burabaor/chat-space/stargazers","contributors_url":"https://api.github.com/repos/burabaor/chat-space/contributors","subscribers_url":"https://api.github.com/repos/burabaor/chat-space/subscribers","subscription_url":"https://api.github.com/repos/burabaor/chat-space/subscription","commits_url":"https://api.github.com/repos/burabaor/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/burabaor/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/burabaor/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/burabaor/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/burabaor/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/burabaor/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/burabaor/chat-space/merges","archive_url":"https://api.github.com/repos/burabaor/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/burabaor/chat-space/downloads","issues_url":"https://api.github.com/repos/burabaor/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/burabaor/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/burabaor/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/burabaor/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/burabaor/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/burabaor/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/burabaor/chat-space/deployments","created_at":"2016-11-11T02:57:52Z","updated_at":"2016-11-11T02:58:02Z","pushed_at":"2016-11-24T06:51:28Z","git_url":"git://github.com/burabaor/chat-space.git","ssh_url":"git@github.com:burabaor/chat-space.git","clone_url":"https://github.com/burabaor/chat-space.git","svn_url":"https://github.com/burabaor/chat-space","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/burabaor/chat-space/pulls/15"},"html":{"href":"https://github.com/burabaor/chat-space/pull/15"},"issue":{"href":"https://api.github.com/repos/burabaor/chat-space/issues/15"},"comments":{"href":"https://api.github.com/repos/burabaor/chat-space/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/burabaor/chat-space/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/burabaor/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/burabaor/chat-space/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/burabaor/chat-space/statuses/9560b378d95a9a9ce2f72cd1e2ce72b5797bdccc"}}}}
{"actor":{"display_login":"kyohei0423"}}