{"action":"created","comment":{"url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/comments/79136866","id":79136866,"diff_hunk":"@@ -14,7 +14,7 @@ def new\n   def create\n     @project = Project.new(params_project)\n     if @project.save\n-      redirect_to projects_path, notice: 'Prototype was successfully create'\n+      redirect_to root_path, notice: 'Prototype was successfully create'","path":"app/controllers/projects_controller.rb","position":12,"original_position":12,"commit_id":"cb1415c617209bfcacd60f501509d110edbd57fc","original_commit_id":"cb1415c617209bfcacd60f501509d110edbd57fc","user":{"login":"kentarohorie","id":14952562,"avatar_url":"https://avatars.githubusercontent.com/u/14952562?v=3","gravatar_id":"","url":"https://api.github.com/users/kentarohorie","html_url":"https://github.com/kentarohorie","followers_url":"https://api.github.com/users/kentarohorie/followers","following_url":"https://api.github.com/users/kentarohorie/following{/other_user}","gists_url":"https://api.github.com/users/kentarohorie/gists{/gist_id}","starred_url":"https://api.github.com/users/kentarohorie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentarohorie/subscriptions","organizations_url":"https://api.github.com/users/kentarohorie/orgs","repos_url":"https://api.github.com/users/kentarohorie/repos","events_url":"https://api.github.com/users/kentarohorie/events{/privacy}","received_events_url":"https://api.github.com/users/kentarohorie/received_events","type":"User","site_admin":false},"body":"rootにパス変更した意図ってなんですか？","created_at":"2016-09-16T09:39:40Z","updated_at":"2016-09-16T09:45:46Z","html_url":"https://github.com/KaikiHamaguchi/Protospace/pull/33#discussion_r79136866","pull_request_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/comments/79136866"},"html":{"href":"https://github.com/KaikiHamaguchi/Protospace/pull/33#discussion_r79136866"},"pull_request":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/33","id":85382836,"html_url":"https://github.com/KaikiHamaguchi/Protospace/pull/33","diff_url":"https://github.com/KaikiHamaguchi/Protospace/pull/33.diff","patch_url":"https://github.com/KaikiHamaguchi/Protospace/pull/33.patch","issue_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/33","number":33,"state":"open","locked":false,"title":"Unit test controller","user":{"login":"KaikiHamaguchi","id":17312969,"avatar_url":"https://avatars.githubusercontent.com/u/17312969?v=3","gravatar_id":"","url":"https://api.github.com/users/KaikiHamaguchi","html_url":"https://github.com/KaikiHamaguchi","followers_url":"https://api.github.com/users/KaikiHamaguchi/followers","following_url":"https://api.github.com/users/KaikiHamaguchi/following{/other_user}","gists_url":"https://api.github.com/users/KaikiHamaguchi/gists{/gist_id}","starred_url":"https://api.github.com/users/KaikiHamaguchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaikiHamaguchi/subscriptions","organizations_url":"https://api.github.com/users/KaikiHamaguchi/orgs","repos_url":"https://api.github.com/users/KaikiHamaguchi/repos","events_url":"https://api.github.com/users/KaikiHamaguchi/events{/privacy}","received_events_url":"https://api.github.com/users/KaikiHamaguchi/received_events","type":"User","site_admin":false},"body":"# WHAT\r\nUnitテスト（Controller）\r\n# WHY\r\nプログラムが意図した通りに正常に動くか確認するため。","created_at":"2016-09-15T10:55:05Z","updated_at":"2016-09-16T09:45:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ff367dd38138aea2c9d2365b96e0af71c5721e0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/33/commits","review_comments_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/33/comments","review_comment_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/33/comments","statuses_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/statuses/cb1415c617209bfcacd60f501509d110edbd57fc","head":{"label":"KaikiHamaguchi:unit_test_controller","ref":"unit_test_controller","sha":"cb1415c617209bfcacd60f501509d110edbd57fc","user":{"login":"KaikiHamaguchi","id":17312969,"avatar_url":"https://avatars.githubusercontent.com/u/17312969?v=3","gravatar_id":"","url":"https://api.github.com/users/KaikiHamaguchi","html_url":"https://github.com/KaikiHamaguchi","followers_url":"https://api.github.com/users/KaikiHamaguchi/followers","following_url":"https://api.github.com/users/KaikiHamaguchi/following{/other_user}","gists_url":"https://api.github.com/users/KaikiHamaguchi/gists{/gist_id}","starred_url":"https://api.github.com/users/KaikiHamaguchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaikiHamaguchi/subscriptions","organizations_url":"https://api.github.com/users/KaikiHamaguchi/orgs","repos_url":"https://api.github.com/users/KaikiHamaguchi/repos","events_url":"https://api.github.com/users/KaikiHamaguchi/events{/privacy}","received_events_url":"https://api.github.com/users/KaikiHamaguchi/received_events","type":"User","site_admin":false},"repo":{"id":59730590,"name":"Protospace","full_name":"KaikiHamaguchi/Protospace","owner":{"login":"KaikiHamaguchi","id":17312969,"avatar_url":"https://avatars.githubusercontent.com/u/17312969?v=3","gravatar_id":"","url":"https://api.github.com/users/KaikiHamaguchi","html_url":"https://github.com/KaikiHamaguchi","followers_url":"https://api.github.com/users/KaikiHamaguchi/followers","following_url":"https://api.github.com/users/KaikiHamaguchi/following{/other_user}","gists_url":"https://api.github.com/users/KaikiHamaguchi/gists{/gist_id}","starred_url":"https://api.github.com/users/KaikiHamaguchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaikiHamaguchi/subscriptions","organizations_url":"https://api.github.com/users/KaikiHamaguchi/orgs","repos_url":"https://api.github.com/users/KaikiHamaguchi/repos","events_url":"https://api.github.com/users/KaikiHamaguchi/events{/privacy}","received_events_url":"https://api.github.com/users/KaikiHamaguchi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KaikiHamaguchi/Protospace","description":"","fork":false,"url":"https://api.github.com/repos/KaikiHamaguchi/Protospace","forks_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/forks","keys_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/teams","hooks_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/hooks","issue_events_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/events{/number}","events_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/events","assignees_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/assignees{/user}","branches_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/branches{/branch}","tags_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/tags","blobs_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/languages","stargazers_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/stargazers","contributors_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/contributors","subscribers_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/subscribers","subscription_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/subscription","commits_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/contents/{+path}","compare_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/merges","archive_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/downloads","issues_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues{/number}","pulls_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/labels{/name}","releases_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/releases{/id}","deployments_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/deployments","created_at":"2016-05-26T07:46:05Z","updated_at":"2016-08-02T01:14:57Z","pushed_at":"2016-09-15T20:48:10Z","git_url":"git://github.com/KaikiHamaguchi/Protospace.git","ssh_url":"git@github.com:KaikiHamaguchi/Protospace.git","clone_url":"https://github.com/KaikiHamaguchi/Protospace.git","svn_url":"https://github.com/KaikiHamaguchi/Protospace","homepage":"","size":628,"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":"KaikiHamaguchi:master","ref":"master","sha":"4dab905abeb0b6f6b28ecb02bc354174729ed27a","user":{"login":"KaikiHamaguchi","id":17312969,"avatar_url":"https://avatars.githubusercontent.com/u/17312969?v=3","gravatar_id":"","url":"https://api.github.com/users/KaikiHamaguchi","html_url":"https://github.com/KaikiHamaguchi","followers_url":"https://api.github.com/users/KaikiHamaguchi/followers","following_url":"https://api.github.com/users/KaikiHamaguchi/following{/other_user}","gists_url":"https://api.github.com/users/KaikiHamaguchi/gists{/gist_id}","starred_url":"https://api.github.com/users/KaikiHamaguchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaikiHamaguchi/subscriptions","organizations_url":"https://api.github.com/users/KaikiHamaguchi/orgs","repos_url":"https://api.github.com/users/KaikiHamaguchi/repos","events_url":"https://api.github.com/users/KaikiHamaguchi/events{/privacy}","received_events_url":"https://api.github.com/users/KaikiHamaguchi/received_events","type":"User","site_admin":false},"repo":{"id":59730590,"name":"Protospace","full_name":"KaikiHamaguchi/Protospace","owner":{"login":"KaikiHamaguchi","id":17312969,"avatar_url":"https://avatars.githubusercontent.com/u/17312969?v=3","gravatar_id":"","url":"https://api.github.com/users/KaikiHamaguchi","html_url":"https://github.com/KaikiHamaguchi","followers_url":"https://api.github.com/users/KaikiHamaguchi/followers","following_url":"https://api.github.com/users/KaikiHamaguchi/following{/other_user}","gists_url":"https://api.github.com/users/KaikiHamaguchi/gists{/gist_id}","starred_url":"https://api.github.com/users/KaikiHamaguchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaikiHamaguchi/subscriptions","organizations_url":"https://api.github.com/users/KaikiHamaguchi/orgs","repos_url":"https://api.github.com/users/KaikiHamaguchi/repos","events_url":"https://api.github.com/users/KaikiHamaguchi/events{/privacy}","received_events_url":"https://api.github.com/users/KaikiHamaguchi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KaikiHamaguchi/Protospace","description":"","fork":false,"url":"https://api.github.com/repos/KaikiHamaguchi/Protospace","forks_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/forks","keys_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/teams","hooks_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/hooks","issue_events_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/events{/number}","events_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/events","assignees_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/assignees{/user}","branches_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/branches{/branch}","tags_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/tags","blobs_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/languages","stargazers_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/stargazers","contributors_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/contributors","subscribers_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/subscribers","subscription_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/subscription","commits_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/contents/{+path}","compare_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/merges","archive_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/downloads","issues_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues{/number}","pulls_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/labels{/name}","releases_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/releases{/id}","deployments_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/deployments","created_at":"2016-05-26T07:46:05Z","updated_at":"2016-08-02T01:14:57Z","pushed_at":"2016-09-15T20:48:10Z","git_url":"git://github.com/KaikiHamaguchi/Protospace.git","ssh_url":"git@github.com:KaikiHamaguchi/Protospace.git","clone_url":"https://github.com/KaikiHamaguchi/Protospace.git","svn_url":"https://github.com/KaikiHamaguchi/Protospace","homepage":"","size":628,"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/KaikiHamaguchi/Protospace/pulls/33"},"html":{"href":"https://github.com/KaikiHamaguchi/Protospace/pull/33"},"issue":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/33"},"comments":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/statuses/cb1415c617209bfcacd60f501509d110edbd57fc"}}}}
{"actor":{"display_login":"kentarohorie"}}