{"action":"created","comment":{"url":"https://api.github.com/repos/CircleAround/gbs/pulls/comments/41096714","id":41096714,"diff_hunk":"@@ -43,13 +43,28 @@ public function view($id = null)\n         $this->set('thread', $thread);\n         $this->set('_serialize', ['thread']);\n \n-        $comment_entity = $this->Threads->Comments\n-        ->newEntity($this->request->data);\n+        $comment = $this->Threads->Comments\n+        ->newEntity();\n \n-        $this->set('Comment_entity', $comment_entity);\n+        $this->set('comment', $comment);\n \n     }\n \n+/*\n+     public function comment_add() {","path":"src/Controller/ThreadsController.php","position":15,"original_position":15,"commit_id":"48cb32046a6ba650737afe69211594aa5972aaac","original_commit_id":"48cb32046a6ba650737afe69211594aa5972aaac","user":{"login":"ms2sato","id":627817,"avatar_url":"https://avatars.githubusercontent.com/u/627817?v=3","gravatar_id":"","url":"https://api.github.com/users/ms2sato","html_url":"https://github.com/ms2sato","followers_url":"https://api.github.com/users/ms2sato/followers","following_url":"https://api.github.com/users/ms2sato/following{/other_user}","gists_url":"https://api.github.com/users/ms2sato/gists{/gist_id}","starred_url":"https://api.github.com/users/ms2sato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ms2sato/subscriptions","organizations_url":"https://api.github.com/users/ms2sato/orgs","repos_url":"https://api.github.com/users/ms2sato/repos","events_url":"https://api.github.com/users/ms2sato/events{/privacy}","received_events_url":"https://api.github.com/users/ms2sato/received_events","type":"User","site_admin":false},"body":"こちらはコメントせずに削除しましょう！","created_at":"2015-10-04T11:03:04Z","updated_at":"2015-10-04T11:03:04Z","html_url":"https://github.com/CircleAround/gbs/pull/56#discussion_r41096714","pull_request_url":"https://api.github.com/repos/CircleAround/gbs/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/CircleAround/gbs/pulls/comments/41096714"},"html":{"href":"https://github.com/CircleAround/gbs/pull/56#discussion_r41096714"},"pull_request":{"href":"https://api.github.com/repos/CircleAround/gbs/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/CircleAround/gbs/pulls/56","id":46614387,"html_url":"https://github.com/CircleAround/gbs/pull/56","diff_url":"https://github.com/CircleAround/gbs/pull/56.diff","patch_url":"https://github.com/CircleAround/gbs/pull/56.patch","issue_url":"https://api.github.com/repos/CircleAround/gbs/issues/56","number":56,"state":"open","locked":false,"title":"Issue#11 Threadの詳細画面から、commentの投稿を可能にする","user":{"login":"Kojima87","id":13011927,"avatar_url":"https://avatars.githubusercontent.com/u/13011927?v=3","gravatar_id":"","url":"https://api.github.com/users/Kojima87","html_url":"https://github.com/Kojima87","followers_url":"https://api.github.com/users/Kojima87/followers","following_url":"https://api.github.com/users/Kojima87/following{/other_user}","gists_url":"https://api.github.com/users/Kojima87/gists{/gist_id}","starred_url":"https://api.github.com/users/Kojima87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kojima87/subscriptions","organizations_url":"https://api.github.com/users/Kojima87/orgs","repos_url":"https://api.github.com/users/Kojima87/repos","events_url":"https://api.github.com/users/Kojima87/events{/privacy}","received_events_url":"https://api.github.com/users/Kojima87/received_events","type":"User","site_admin":false},"body":"@ms2sato よろしくお願いします。\r\n必須入力欄のBodyが＊がついているだけでなく赤く太字になっています。\r\n下には、必須入力のコメントまで付いています。","created_at":"2015-10-02T08:53:24Z","updated_at":"2015-10-04T11:03:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0001c4a2056b14d72b037de2a08a1f8f33df65d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CircleAround/gbs/pulls/56/commits","review_comments_url":"https://api.github.com/repos/CircleAround/gbs/pulls/56/comments","review_comment_url":"https://api.github.com/repos/CircleAround/gbs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CircleAround/gbs/issues/56/comments","statuses_url":"https://api.github.com/repos/CircleAround/gbs/statuses/48cb32046a6ba650737afe69211594aa5972aaac","head":{"label":"CircleAround:11-input-comment-from-thread","ref":"11-input-comment-from-thread","sha":"48cb32046a6ba650737afe69211594aa5972aaac","user":{"login":"CircleAround","id":7463237,"avatar_url":"https://avatars.githubusercontent.com/u/7463237?v=3","gravatar_id":"","url":"https://api.github.com/users/CircleAround","html_url":"https://github.com/CircleAround","followers_url":"https://api.github.com/users/CircleAround/followers","following_url":"https://api.github.com/users/CircleAround/following{/other_user}","gists_url":"https://api.github.com/users/CircleAround/gists{/gist_id}","starred_url":"https://api.github.com/users/CircleAround/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CircleAround/subscriptions","organizations_url":"https://api.github.com/users/CircleAround/orgs","repos_url":"https://api.github.com/users/CircleAround/repos","events_url":"https://api.github.com/users/CircleAround/events{/privacy}","received_events_url":"https://api.github.com/users/CircleAround/received_events","type":"Organization","site_admin":false},"repo":{"id":42288485,"name":"gbs","full_name":"CircleAround/gbs","owner":{"login":"CircleAround","id":7463237,"avatar_url":"https://avatars.githubusercontent.com/u/7463237?v=3","gravatar_id":"","url":"https://api.github.com/users/CircleAround","html_url":"https://github.com/CircleAround","followers_url":"https://api.github.com/users/CircleAround/followers","following_url":"https://api.github.com/users/CircleAround/following{/other_user}","gists_url":"https://api.github.com/users/CircleAround/gists{/gist_id}","starred_url":"https://api.github.com/users/CircleAround/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CircleAround/subscriptions","organizations_url":"https://api.github.com/users/CircleAround/orgs","repos_url":"https://api.github.com/users/CircleAround/repos","events_url":"https://api.github.com/users/CircleAround/events{/privacy}","received_events_url":"https://api.github.com/users/CircleAround/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CircleAround/gbs","description":"Growing Board System","fork":false,"url":"https://api.github.com/repos/CircleAround/gbs","forks_url":"https://api.github.com/repos/CircleAround/gbs/forks","keys_url":"https://api.github.com/repos/CircleAround/gbs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CircleAround/gbs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CircleAround/gbs/teams","hooks_url":"https://api.github.com/repos/CircleAround/gbs/hooks","issue_events_url":"https://api.github.com/repos/CircleAround/gbs/issues/events{/number}","events_url":"https://api.github.com/repos/CircleAround/gbs/events","assignees_url":"https://api.github.com/repos/CircleAround/gbs/assignees{/user}","branches_url":"https://api.github.com/repos/CircleAround/gbs/branches{/branch}","tags_url":"https://api.github.com/repos/CircleAround/gbs/tags","blobs_url":"https://api.github.com/repos/CircleAround/gbs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CircleAround/gbs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CircleAround/gbs/git/refs{/sha}","trees_url":"https://api.github.com/repos/CircleAround/gbs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CircleAround/gbs/statuses/{sha}","languages_url":"https://api.github.com/repos/CircleAround/gbs/languages","stargazers_url":"https://api.github.com/repos/CircleAround/gbs/stargazers","contributors_url":"https://api.github.com/repos/CircleAround/gbs/contributors","subscribers_url":"https://api.github.com/repos/CircleAround/gbs/subscribers","subscription_url":"https://api.github.com/repos/CircleAround/gbs/subscription","commits_url":"https://api.github.com/repos/CircleAround/gbs/commits{/sha}","git_commits_url":"https://api.github.com/repos/CircleAround/gbs/git/commits{/sha}","comments_url":"https://api.github.com/repos/CircleAround/gbs/comments{/number}","issue_comment_url":"https://api.github.com/repos/CircleAround/gbs/issues/comments{/number}","contents_url":"https://api.github.com/repos/CircleAround/gbs/contents/{+path}","compare_url":"https://api.github.com/repos/CircleAround/gbs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CircleAround/gbs/merges","archive_url":"https://api.github.com/repos/CircleAround/gbs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CircleAround/gbs/downloads","issues_url":"https://api.github.com/repos/CircleAround/gbs/issues{/number}","pulls_url":"https://api.github.com/repos/CircleAround/gbs/pulls{/number}","milestones_url":"https://api.github.com/repos/CircleAround/gbs/milestones{/number}","notifications_url":"https://api.github.com/repos/CircleAround/gbs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CircleAround/gbs/labels{/name}","releases_url":"https://api.github.com/repos/CircleAround/gbs/releases{/id}","created_at":"2015-09-11T04:57:11Z","updated_at":"2015-09-12T07:48:10Z","pushed_at":"2015-10-04T07:38:29Z","git_url":"git://github.com/CircleAround/gbs.git","ssh_url":"git@github.com:CircleAround/gbs.git","clone_url":"https://github.com/CircleAround/gbs.git","svn_url":"https://github.com/CircleAround/gbs","homepage":null,"size":452,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":0,"default_branch":"master"}},"base":{"label":"CircleAround:master","ref":"master","sha":"7492f944f072feb62cf9cd109bdcff70442e45b0","user":{"login":"CircleAround","id":7463237,"avatar_url":"https://avatars.githubusercontent.com/u/7463237?v=3","gravatar_id":"","url":"https://api.github.com/users/CircleAround","html_url":"https://github.com/CircleAround","followers_url":"https://api.github.com/users/CircleAround/followers","following_url":"https://api.github.com/users/CircleAround/following{/other_user}","gists_url":"https://api.github.com/users/CircleAround/gists{/gist_id}","starred_url":"https://api.github.com/users/CircleAround/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CircleAround/subscriptions","organizations_url":"https://api.github.com/users/CircleAround/orgs","repos_url":"https://api.github.com/users/CircleAround/repos","events_url":"https://api.github.com/users/CircleAround/events{/privacy}","received_events_url":"https://api.github.com/users/CircleAround/received_events","type":"Organization","site_admin":false},"repo":{"id":42288485,"name":"gbs","full_name":"CircleAround/gbs","owner":{"login":"CircleAround","id":7463237,"avatar_url":"https://avatars.githubusercontent.com/u/7463237?v=3","gravatar_id":"","url":"https://api.github.com/users/CircleAround","html_url":"https://github.com/CircleAround","followers_url":"https://api.github.com/users/CircleAround/followers","following_url":"https://api.github.com/users/CircleAround/following{/other_user}","gists_url":"https://api.github.com/users/CircleAround/gists{/gist_id}","starred_url":"https://api.github.com/users/CircleAround/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CircleAround/subscriptions","organizations_url":"https://api.github.com/users/CircleAround/orgs","repos_url":"https://api.github.com/users/CircleAround/repos","events_url":"https://api.github.com/users/CircleAround/events{/privacy}","received_events_url":"https://api.github.com/users/CircleAround/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CircleAround/gbs","description":"Growing Board System","fork":false,"url":"https://api.github.com/repos/CircleAround/gbs","forks_url":"https://api.github.com/repos/CircleAround/gbs/forks","keys_url":"https://api.github.com/repos/CircleAround/gbs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CircleAround/gbs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CircleAround/gbs/teams","hooks_url":"https://api.github.com/repos/CircleAround/gbs/hooks","issue_events_url":"https://api.github.com/repos/CircleAround/gbs/issues/events{/number}","events_url":"https://api.github.com/repos/CircleAround/gbs/events","assignees_url":"https://api.github.com/repos/CircleAround/gbs/assignees{/user}","branches_url":"https://api.github.com/repos/CircleAround/gbs/branches{/branch}","tags_url":"https://api.github.com/repos/CircleAround/gbs/tags","blobs_url":"https://api.github.com/repos/CircleAround/gbs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CircleAround/gbs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CircleAround/gbs/git/refs{/sha}","trees_url":"https://api.github.com/repos/CircleAround/gbs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CircleAround/gbs/statuses/{sha}","languages_url":"https://api.github.com/repos/CircleAround/gbs/languages","stargazers_url":"https://api.github.com/repos/CircleAround/gbs/stargazers","contributors_url":"https://api.github.com/repos/CircleAround/gbs/contributors","subscribers_url":"https://api.github.com/repos/CircleAround/gbs/subscribers","subscription_url":"https://api.github.com/repos/CircleAround/gbs/subscription","commits_url":"https://api.github.com/repos/CircleAround/gbs/commits{/sha}","git_commits_url":"https://api.github.com/repos/CircleAround/gbs/git/commits{/sha}","comments_url":"https://api.github.com/repos/CircleAround/gbs/comments{/number}","issue_comment_url":"https://api.github.com/repos/CircleAround/gbs/issues/comments{/number}","contents_url":"https://api.github.com/repos/CircleAround/gbs/contents/{+path}","compare_url":"https://api.github.com/repos/CircleAround/gbs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CircleAround/gbs/merges","archive_url":"https://api.github.com/repos/CircleAround/gbs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CircleAround/gbs/downloads","issues_url":"https://api.github.com/repos/CircleAround/gbs/issues{/number}","pulls_url":"https://api.github.com/repos/CircleAround/gbs/pulls{/number}","milestones_url":"https://api.github.com/repos/CircleAround/gbs/milestones{/number}","notifications_url":"https://api.github.com/repos/CircleAround/gbs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CircleAround/gbs/labels{/name}","releases_url":"https://api.github.com/repos/CircleAround/gbs/releases{/id}","created_at":"2015-09-11T04:57:11Z","updated_at":"2015-09-12T07:48:10Z","pushed_at":"2015-10-04T07:38:29Z","git_url":"git://github.com/CircleAround/gbs.git","ssh_url":"git@github.com:CircleAround/gbs.git","clone_url":"https://github.com/CircleAround/gbs.git","svn_url":"https://github.com/CircleAround/gbs","homepage":null,"size":452,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CircleAround/gbs/pulls/56"},"html":{"href":"https://github.com/CircleAround/gbs/pull/56"},"issue":{"href":"https://api.github.com/repos/CircleAround/gbs/issues/56"},"comments":{"href":"https://api.github.com/repos/CircleAround/gbs/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/CircleAround/gbs/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/CircleAround/gbs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CircleAround/gbs/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/CircleAround/gbs/statuses/48cb32046a6ba650737afe69211594aa5972aaac"}}}}