{"action":"created","comment":{"url":"https://api.github.com/repos/nema-i/protospace/pulls/comments/80632663","pull_request_review_id":1676781,"id":80632663,"diff_hunk":"@@ -1,10 +1,13 @@\n class PrototypesController < ApplicationController\n+  before_action :set_prototype, only: :show\n \n   def index\n+    @prototypes = Prototype.all","path":"app/controllers/prototypes_controller.rb","position":null,"original_position":5,"commit_id":"37891f957efc757222de9be61fb79c8263ff3b85","original_commit_id":"25d94733e046924766c6c13748e2dc8183ccaae2","user":{"login":"yogoken","id":17805440,"avatar_url":"https://avatars.githubusercontent.com/u/17805440?v=3","gravatar_id":"","url":"https://api.github.com/users/yogoken","html_url":"https://github.com/yogoken","followers_url":"https://api.github.com/users/yogoken/followers","following_url":"https://api.github.com/users/yogoken/following{/other_user}","gists_url":"https://api.github.com/users/yogoken/gists{/gist_id}","starred_url":"https://api.github.com/users/yogoken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogoken/subscriptions","organizations_url":"https://api.github.com/users/yogoken/orgs","repos_url":"https://api.github.com/users/yogoken/repos","events_url":"https://api.github.com/users/yogoken/events{/privacy}","received_events_url":"https://api.github.com/users/yogoken/received_events","type":"User","site_admin":false},"body":"↑こちらのコメントに対して修正が完了しましたら、こちらでコメント残すことをお願いします。","created_at":"2016-09-27T07:19:20Z","updated_at":"2016-09-27T07:19:21Z","html_url":"https://github.com/nema-i/protospace/pull/11#discussion_r80632663","pull_request_url":"https://api.github.com/repos/nema-i/protospace/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/nema-i/protospace/pulls/comments/80632663"},"html":{"href":"https://github.com/nema-i/protospace/pull/11#discussion_r80632663"},"pull_request":{"href":"https://api.github.com/repos/nema-i/protospace/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/nema-i/protospace/pulls/11","id":86694671,"html_url":"https://github.com/nema-i/protospace/pull/11","diff_url":"https://github.com/nema-i/protospace/pull/11.diff","patch_url":"https://github.com/nema-i/protospace/pull/11.patch","issue_url":"https://api.github.com/repos/nema-i/protospace/issues/11","number":11,"state":"open","locked":false,"title":"プロトタイプの閲覧機能（一覧、詳細、各ユーザーの投稿一覧）機能の追加","user":{"login":"nema-i","id":21698530,"avatar_url":"https://avatars.githubusercontent.com/u/21698530?v=3","gravatar_id":"","url":"https://api.github.com/users/nema-i","html_url":"https://github.com/nema-i","followers_url":"https://api.github.com/users/nema-i/followers","following_url":"https://api.github.com/users/nema-i/following{/other_user}","gists_url":"https://api.github.com/users/nema-i/gists{/gist_id}","starred_url":"https://api.github.com/users/nema-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nema-i/subscriptions","organizations_url":"https://api.github.com/users/nema-i/orgs","repos_url":"https://api.github.com/users/nema-i/repos","events_url":"https://api.github.com/users/nema-i/events{/privacy}","received_events_url":"https://api.github.com/users/nema-i/received_events","type":"User","site_admin":false},"body":"# WHAT\r\n・indexアクションにprototypeテーブルから全てのデータを取得。\r\n・showアクションにサブイメージを表示する為のインスタンス変数、ユーザー情報を表示する為のインスタンス変数を記述。\r\n・index.html.hamlファイルの修正\r\n・show.html.hamlファイルの修正。\r\n\r\n# WHY\r\n・各プロトタイプの詳細を説明するページを用意し、ユーザーにプロトタイプのメリットなどを知ってもらう。\r\n・各ユーザーが投稿したプロトタイプを閲覧できるようにし、どのユーザーがどういうプロトタイプを投稿しているのか知ってもらう。","created_at":"2016-09-26T07:42:59Z","updated_at":"2016-09-27T07:19:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"626db533fd9b26f18844cbcf9bab87845f188718","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nema-i/protospace/pulls/11/commits","review_comments_url":"https://api.github.com/repos/nema-i/protospace/pulls/11/comments","review_comment_url":"https://api.github.com/repos/nema-i/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nema-i/protospace/issues/11/comments","statuses_url":"https://api.github.com/repos/nema-i/protospace/statuses/37891f957efc757222de9be61fb79c8263ff3b85","head":{"label":"nema-i:prototype-browsing-function","ref":"prototype-browsing-function","sha":"37891f957efc757222de9be61fb79c8263ff3b85","user":{"login":"nema-i","id":21698530,"avatar_url":"https://avatars.githubusercontent.com/u/21698530?v=3","gravatar_id":"","url":"https://api.github.com/users/nema-i","html_url":"https://github.com/nema-i","followers_url":"https://api.github.com/users/nema-i/followers","following_url":"https://api.github.com/users/nema-i/following{/other_user}","gists_url":"https://api.github.com/users/nema-i/gists{/gist_id}","starred_url":"https://api.github.com/users/nema-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nema-i/subscriptions","organizations_url":"https://api.github.com/users/nema-i/orgs","repos_url":"https://api.github.com/users/nema-i/repos","events_url":"https://api.github.com/users/nema-i/events{/privacy}","received_events_url":"https://api.github.com/users/nema-i/received_events","type":"User","site_admin":false},"repo":{"id":68354783,"name":"protospace","full_name":"nema-i/protospace","owner":{"login":"nema-i","id":21698530,"avatar_url":"https://avatars.githubusercontent.com/u/21698530?v=3","gravatar_id":"","url":"https://api.github.com/users/nema-i","html_url":"https://github.com/nema-i","followers_url":"https://api.github.com/users/nema-i/followers","following_url":"https://api.github.com/users/nema-i/following{/other_user}","gists_url":"https://api.github.com/users/nema-i/gists{/gist_id}","starred_url":"https://api.github.com/users/nema-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nema-i/subscriptions","organizations_url":"https://api.github.com/users/nema-i/orgs","repos_url":"https://api.github.com/users/nema-i/repos","events_url":"https://api.github.com/users/nema-i/events{/privacy}","received_events_url":"https://api.github.com/users/nema-i/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nema-i/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/nema-i/protospace","forks_url":"https://api.github.com/repos/nema-i/protospace/forks","keys_url":"https://api.github.com/repos/nema-i/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nema-i/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nema-i/protospace/teams","hooks_url":"https://api.github.com/repos/nema-i/protospace/hooks","issue_events_url":"https://api.github.com/repos/nema-i/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/nema-i/protospace/events","assignees_url":"https://api.github.com/repos/nema-i/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/nema-i/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/nema-i/protospace/tags","blobs_url":"https://api.github.com/repos/nema-i/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nema-i/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nema-i/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/nema-i/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nema-i/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/nema-i/protospace/languages","stargazers_url":"https://api.github.com/repos/nema-i/protospace/stargazers","contributors_url":"https://api.github.com/repos/nema-i/protospace/contributors","subscribers_url":"https://api.github.com/repos/nema-i/protospace/subscribers","subscription_url":"https://api.github.com/repos/nema-i/protospace/subscription","commits_url":"https://api.github.com/repos/nema-i/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/nema-i/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/nema-i/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/nema-i/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/nema-i/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/nema-i/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nema-i/protospace/merges","archive_url":"https://api.github.com/repos/nema-i/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nema-i/protospace/downloads","issues_url":"https://api.github.com/repos/nema-i/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/nema-i/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/nema-i/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/nema-i/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nema-i/protospace/labels{/name}","releases_url":"https://api.github.com/repos/nema-i/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/nema-i/protospace/deployments","created_at":"2016-09-16T05:18:24Z","updated_at":"2016-09-22T04:10:13Z","pushed_at":"2016-09-27T07:07:22Z","git_url":"git://github.com/nema-i/protospace.git","ssh_url":"git@github.com:nema-i/protospace.git","clone_url":"https://github.com/nema-i/protospace.git","svn_url":"https://github.com/nema-i/protospace","homepage":"","size":574,"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":"nema-i:master","ref":"master","sha":"35cb0992b14128bb1bb8237838596528e2c4142d","user":{"login":"nema-i","id":21698530,"avatar_url":"https://avatars.githubusercontent.com/u/21698530?v=3","gravatar_id":"","url":"https://api.github.com/users/nema-i","html_url":"https://github.com/nema-i","followers_url":"https://api.github.com/users/nema-i/followers","following_url":"https://api.github.com/users/nema-i/following{/other_user}","gists_url":"https://api.github.com/users/nema-i/gists{/gist_id}","starred_url":"https://api.github.com/users/nema-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nema-i/subscriptions","organizations_url":"https://api.github.com/users/nema-i/orgs","repos_url":"https://api.github.com/users/nema-i/repos","events_url":"https://api.github.com/users/nema-i/events{/privacy}","received_events_url":"https://api.github.com/users/nema-i/received_events","type":"User","site_admin":false},"repo":{"id":68354783,"name":"protospace","full_name":"nema-i/protospace","owner":{"login":"nema-i","id":21698530,"avatar_url":"https://avatars.githubusercontent.com/u/21698530?v=3","gravatar_id":"","url":"https://api.github.com/users/nema-i","html_url":"https://github.com/nema-i","followers_url":"https://api.github.com/users/nema-i/followers","following_url":"https://api.github.com/users/nema-i/following{/other_user}","gists_url":"https://api.github.com/users/nema-i/gists{/gist_id}","starred_url":"https://api.github.com/users/nema-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nema-i/subscriptions","organizations_url":"https://api.github.com/users/nema-i/orgs","repos_url":"https://api.github.com/users/nema-i/repos","events_url":"https://api.github.com/users/nema-i/events{/privacy}","received_events_url":"https://api.github.com/users/nema-i/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nema-i/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/nema-i/protospace","forks_url":"https://api.github.com/repos/nema-i/protospace/forks","keys_url":"https://api.github.com/repos/nema-i/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nema-i/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nema-i/protospace/teams","hooks_url":"https://api.github.com/repos/nema-i/protospace/hooks","issue_events_url":"https://api.github.com/repos/nema-i/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/nema-i/protospace/events","assignees_url":"https://api.github.com/repos/nema-i/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/nema-i/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/nema-i/protospace/tags","blobs_url":"https://api.github.com/repos/nema-i/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nema-i/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nema-i/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/nema-i/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nema-i/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/nema-i/protospace/languages","stargazers_url":"https://api.github.com/repos/nema-i/protospace/stargazers","contributors_url":"https://api.github.com/repos/nema-i/protospace/contributors","subscribers_url":"https://api.github.com/repos/nema-i/protospace/subscribers","subscription_url":"https://api.github.com/repos/nema-i/protospace/subscription","commits_url":"https://api.github.com/repos/nema-i/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/nema-i/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/nema-i/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/nema-i/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/nema-i/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/nema-i/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nema-i/protospace/merges","archive_url":"https://api.github.com/repos/nema-i/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nema-i/protospace/downloads","issues_url":"https://api.github.com/repos/nema-i/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/nema-i/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/nema-i/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/nema-i/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nema-i/protospace/labels{/name}","releases_url":"https://api.github.com/repos/nema-i/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/nema-i/protospace/deployments","created_at":"2016-09-16T05:18:24Z","updated_at":"2016-09-22T04:10:13Z","pushed_at":"2016-09-27T07:07:22Z","git_url":"git://github.com/nema-i/protospace.git","ssh_url":"git@github.com:nema-i/protospace.git","clone_url":"https://github.com/nema-i/protospace.git","svn_url":"https://github.com/nema-i/protospace","homepage":"","size":574,"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/nema-i/protospace/pulls/11"},"html":{"href":"https://github.com/nema-i/protospace/pull/11"},"issue":{"href":"https://api.github.com/repos/nema-i/protospace/issues/11"},"comments":{"href":"https://api.github.com/repos/nema-i/protospace/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/nema-i/protospace/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/nema-i/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nema-i/protospace/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/nema-i/protospace/statuses/37891f957efc757222de9be61fb79c8263ff3b85"}}}}
{"actor":{"display_login":"yogoken"}}