{"action":"created","comment":{"url":"https://api.github.com/repos/moriken-team/morikenweb/pulls/comments/29824521","id":29824521,"diff_hunk":"@@ -0,0 +1,60 @@\n+<?php\n+class ProblemsController extends AppController{\n+\tpublic $name = \"Problems\";\n+\tpublic $uses = array('Evaluate');\n+\tpublic function index(){\n+\t\t$this->redirect('problem_show');\n+\t}\n+\t// ユーザが作問した問題を一覧表示\n+\tpublic function problem_show(){","path":"app/Controller/ProblemsController.php","position":9,"original_position":9,"commit_id":"b9afc70dcd65d6f2bdeaff6bb93a1738e66c9909","original_commit_id":"b9afc70dcd65d6f2bdeaff6bb93a1738e66c9909","user":{"login":"omega999","id":4497744,"avatar_url":"https://avatars.githubusercontent.com/u/4497744?v=3","gravatar_id":"","url":"https://api.github.com/users/omega999","html_url":"https://github.com/omega999","followers_url":"https://api.github.com/users/omega999/followers","following_url":"https://api.github.com/users/omega999/following{/other_user}","gists_url":"https://api.github.com/users/omega999/gists{/gist_id}","starred_url":"https://api.github.com/users/omega999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omega999/subscriptions","organizations_url":"https://api.github.com/users/omega999/orgs","repos_url":"https://api.github.com/users/omega999/repos","events_url":"https://api.github.com/users/omega999/events{/privacy}","received_events_url":"https://api.github.com/users/omega999/received_events","type":"User","site_admin":false},"body":"ProblemsController内で解答・作問・評価機能を統合した時、problem_show()だとわかりにくいので具体的なメソッド名に変更しよう","created_at":"2015-05-07T04:56:34Z","updated_at":"2015-05-07T04:56:34Z","html_url":"https://github.com/moriken-team/morikenweb/pull/6#discussion_r29824521","pull_request_url":"https://api.github.com/repos/moriken-team/morikenweb/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/moriken-team/morikenweb/pulls/comments/29824521"},"html":{"href":"https://github.com/moriken-team/morikenweb/pull/6#discussion_r29824521"},"pull_request":{"href":"https://api.github.com/repos/moriken-team/morikenweb/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/moriken-team/morikenweb/pulls/6","id":34882170,"html_url":"https://github.com/moriken-team/morikenweb/pull/6","diff_url":"https://github.com/moriken-team/morikenweb/pull/6.diff","patch_url":"https://github.com/moriken-team/morikenweb/pull/6.patch","issue_url":"https://api.github.com/repos/moriken-team/morikenweb/issues/6","number":6,"state":"open","locked":false,"title":"Feature evaluate","user":{"login":"Showki","id":5545982,"avatar_url":"https://avatars.githubusercontent.com/u/5545982?v=3","gravatar_id":"","url":"https://api.github.com/users/Showki","html_url":"https://github.com/Showki","followers_url":"https://api.github.com/users/Showki/followers","following_url":"https://api.github.com/users/Showki/following{/other_user}","gists_url":"https://api.github.com/users/Showki/gists{/gist_id}","starred_url":"https://api.github.com/users/Showki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Showki/subscriptions","organizations_url":"https://api.github.com/users/Showki/orgs","repos_url":"https://api.github.com/users/Showki/repos","events_url":"https://api.github.com/users/Showki/events{/privacy}","received_events_url":"https://api.github.com/users/Showki/received_events","type":"User","site_admin":false},"body":"評価コメント投稿機能と評価履歴一覧機能を追加しました。\r\n評価一覧機能では、\r\n問題文、正答、誤答選択肢1~3、問題作成日、最終更新日、評価項目ID、評価コメント、作問者確認コメント、作問者確認状況flag、評価日を表示するようにしています。\r\nまた、Index Evaluate Comment APIのレスポンスについて相談ですが、\r\n評価項目IDの部分を評価項目の本文を出力したいので、\r\n本文もレスポンスに入れていただきたいです。\r\nよろしくお願いします。","created_at":"2015-05-07T04:20:45Z","updated_at":"2015-05-07T04:56:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5f45112ce1bb085a3b8213577c375db842e3836","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moriken-team/morikenweb/pulls/6/commits","review_comments_url":"https://api.github.com/repos/moriken-team/morikenweb/pulls/6/comments","review_comment_url":"https://api.github.com/repos/moriken-team/morikenweb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moriken-team/morikenweb/issues/6/comments","statuses_url":"https://api.github.com/repos/moriken-team/morikenweb/statuses/b9afc70dcd65d6f2bdeaff6bb93a1738e66c9909","head":{"label":"moriken-team:feature-evaluate","ref":"feature-evaluate","sha":"b9afc70dcd65d6f2bdeaff6bb93a1738e66c9909","user":{"login":"moriken-team","id":10192572,"avatar_url":"https://avatars.githubusercontent.com/u/10192572?v=3","gravatar_id":"","url":"https://api.github.com/users/moriken-team","html_url":"https://github.com/moriken-team","followers_url":"https://api.github.com/users/moriken-team/followers","following_url":"https://api.github.com/users/moriken-team/following{/other_user}","gists_url":"https://api.github.com/users/moriken-team/gists{/gist_id}","starred_url":"https://api.github.com/users/moriken-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moriken-team/subscriptions","organizations_url":"https://api.github.com/users/moriken-team/orgs","repos_url":"https://api.github.com/users/moriken-team/repos","events_url":"https://api.github.com/users/moriken-team/events{/privacy}","received_events_url":"https://api.github.com/users/moriken-team/received_events","type":"Organization","site_admin":false},"repo":{"id":33868690,"name":"morikenweb","full_name":"moriken-team/morikenweb","owner":{"login":"moriken-team","id":10192572,"avatar_url":"https://avatars.githubusercontent.com/u/10192572?v=3","gravatar_id":"","url":"https://api.github.com/users/moriken-team","html_url":"https://github.com/moriken-team","followers_url":"https://api.github.com/users/moriken-team/followers","following_url":"https://api.github.com/users/moriken-team/following{/other_user}","gists_url":"https://api.github.com/users/moriken-team/gists{/gist_id}","starred_url":"https://api.github.com/users/moriken-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moriken-team/subscriptions","organizations_url":"https://api.github.com/users/moriken-team/orgs","repos_url":"https://api.github.com/users/moriken-team/repos","events_url":"https://api.github.com/users/moriken-team/events{/privacy}","received_events_url":"https://api.github.com/users/moriken-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moriken-team/morikenweb","description":"morikenのwebです。","fork":true,"url":"https://api.github.com/repos/moriken-team/morikenweb","forks_url":"https://api.github.com/repos/moriken-team/morikenweb/forks","keys_url":"https://api.github.com/repos/moriken-team/morikenweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moriken-team/morikenweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moriken-team/morikenweb/teams","hooks_url":"https://api.github.com/repos/moriken-team/morikenweb/hooks","issue_events_url":"https://api.github.com/repos/moriken-team/morikenweb/issues/events{/number}","events_url":"https://api.github.com/repos/moriken-team/morikenweb/events","assignees_url":"https://api.github.com/repos/moriken-team/morikenweb/assignees{/user}","branches_url":"https://api.github.com/repos/moriken-team/morikenweb/branches{/branch}","tags_url":"https://api.github.com/repos/moriken-team/morikenweb/tags","blobs_url":"https://api.github.com/repos/moriken-team/morikenweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moriken-team/morikenweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moriken-team/morikenweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/moriken-team/morikenweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moriken-team/morikenweb/statuses/{sha}","languages_url":"https://api.github.com/repos/moriken-team/morikenweb/languages","stargazers_url":"https://api.github.com/repos/moriken-team/morikenweb/stargazers","contributors_url":"https://api.github.com/repos/moriken-team/morikenweb/contributors","subscribers_url":"https://api.github.com/repos/moriken-team/morikenweb/subscribers","subscription_url":"https://api.github.com/repos/moriken-team/morikenweb/subscription","commits_url":"https://api.github.com/repos/moriken-team/morikenweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/moriken-team/morikenweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/moriken-team/morikenweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/moriken-team/morikenweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/moriken-team/morikenweb/contents/{+path}","compare_url":"https://api.github.com/repos/moriken-team/morikenweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moriken-team/morikenweb/merges","archive_url":"https://api.github.com/repos/moriken-team/morikenweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moriken-team/morikenweb/downloads","issues_url":"https://api.github.com/repos/moriken-team/morikenweb/issues{/number}","pulls_url":"https://api.github.com/repos/moriken-team/morikenweb/pulls{/number}","milestones_url":"https://api.github.com/repos/moriken-team/morikenweb/milestones{/number}","notifications_url":"https://api.github.com/repos/moriken-team/morikenweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moriken-team/morikenweb/labels{/name}","releases_url":"https://api.github.com/repos/moriken-team/morikenweb/releases{/id}","created_at":"2015-04-13T13:00:41Z","updated_at":"2015-04-13T13:00:44Z","pushed_at":"2015-05-07T04:20:45Z","git_url":"git://github.com/moriken-team/morikenweb.git","ssh_url":"git@github.com:moriken-team/morikenweb.git","clone_url":"https://github.com/moriken-team/morikenweb.git","svn_url":"https://github.com/moriken-team/morikenweb","homepage":null,"size":2525,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"moriken-team:develop","ref":"develop","sha":"ce1da2bfcc8e95b90c710ae05cc957f19661a55f","user":{"login":"moriken-team","id":10192572,"avatar_url":"https://avatars.githubusercontent.com/u/10192572?v=3","gravatar_id":"","url":"https://api.github.com/users/moriken-team","html_url":"https://github.com/moriken-team","followers_url":"https://api.github.com/users/moriken-team/followers","following_url":"https://api.github.com/users/moriken-team/following{/other_user}","gists_url":"https://api.github.com/users/moriken-team/gists{/gist_id}","starred_url":"https://api.github.com/users/moriken-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moriken-team/subscriptions","organizations_url":"https://api.github.com/users/moriken-team/orgs","repos_url":"https://api.github.com/users/moriken-team/repos","events_url":"https://api.github.com/users/moriken-team/events{/privacy}","received_events_url":"https://api.github.com/users/moriken-team/received_events","type":"Organization","site_admin":false},"repo":{"id":33868690,"name":"morikenweb","full_name":"moriken-team/morikenweb","owner":{"login":"moriken-team","id":10192572,"avatar_url":"https://avatars.githubusercontent.com/u/10192572?v=3","gravatar_id":"","url":"https://api.github.com/users/moriken-team","html_url":"https://github.com/moriken-team","followers_url":"https://api.github.com/users/moriken-team/followers","following_url":"https://api.github.com/users/moriken-team/following{/other_user}","gists_url":"https://api.github.com/users/moriken-team/gists{/gist_id}","starred_url":"https://api.github.com/users/moriken-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moriken-team/subscriptions","organizations_url":"https://api.github.com/users/moriken-team/orgs","repos_url":"https://api.github.com/users/moriken-team/repos","events_url":"https://api.github.com/users/moriken-team/events{/privacy}","received_events_url":"https://api.github.com/users/moriken-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moriken-team/morikenweb","description":"morikenのwebです。","fork":true,"url":"https://api.github.com/repos/moriken-team/morikenweb","forks_url":"https://api.github.com/repos/moriken-team/morikenweb/forks","keys_url":"https://api.github.com/repos/moriken-team/morikenweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moriken-team/morikenweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moriken-team/morikenweb/teams","hooks_url":"https://api.github.com/repos/moriken-team/morikenweb/hooks","issue_events_url":"https://api.github.com/repos/moriken-team/morikenweb/issues/events{/number}","events_url":"https://api.github.com/repos/moriken-team/morikenweb/events","assignees_url":"https://api.github.com/repos/moriken-team/morikenweb/assignees{/user}","branches_url":"https://api.github.com/repos/moriken-team/morikenweb/branches{/branch}","tags_url":"https://api.github.com/repos/moriken-team/morikenweb/tags","blobs_url":"https://api.github.com/repos/moriken-team/morikenweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moriken-team/morikenweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moriken-team/morikenweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/moriken-team/morikenweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moriken-team/morikenweb/statuses/{sha}","languages_url":"https://api.github.com/repos/moriken-team/morikenweb/languages","stargazers_url":"https://api.github.com/repos/moriken-team/morikenweb/stargazers","contributors_url":"https://api.github.com/repos/moriken-team/morikenweb/contributors","subscribers_url":"https://api.github.com/repos/moriken-team/morikenweb/subscribers","subscription_url":"https://api.github.com/repos/moriken-team/morikenweb/subscription","commits_url":"https://api.github.com/repos/moriken-team/morikenweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/moriken-team/morikenweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/moriken-team/morikenweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/moriken-team/morikenweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/moriken-team/morikenweb/contents/{+path}","compare_url":"https://api.github.com/repos/moriken-team/morikenweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moriken-team/morikenweb/merges","archive_url":"https://api.github.com/repos/moriken-team/morikenweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moriken-team/morikenweb/downloads","issues_url":"https://api.github.com/repos/moriken-team/morikenweb/issues{/number}","pulls_url":"https://api.github.com/repos/moriken-team/morikenweb/pulls{/number}","milestones_url":"https://api.github.com/repos/moriken-team/morikenweb/milestones{/number}","notifications_url":"https://api.github.com/repos/moriken-team/morikenweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moriken-team/morikenweb/labels{/name}","releases_url":"https://api.github.com/repos/moriken-team/morikenweb/releases{/id}","created_at":"2015-04-13T13:00:41Z","updated_at":"2015-04-13T13:00:44Z","pushed_at":"2015-05-07T04:20:45Z","git_url":"git://github.com/moriken-team/morikenweb.git","ssh_url":"git@github.com:moriken-team/morikenweb.git","clone_url":"https://github.com/moriken-team/morikenweb.git","svn_url":"https://github.com/moriken-team/morikenweb","homepage":null,"size":2525,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moriken-team/morikenweb/pulls/6"},"html":{"href":"https://github.com/moriken-team/morikenweb/pull/6"},"issue":{"href":"https://api.github.com/repos/moriken-team/morikenweb/issues/6"},"comments":{"href":"https://api.github.com/repos/moriken-team/morikenweb/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/moriken-team/morikenweb/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/moriken-team/morikenweb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moriken-team/morikenweb/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/moriken-team/morikenweb/statuses/b9afc70dcd65d6f2bdeaff6bb93a1738e66c9909"}}}}