{"action":"created","comment":{"url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/comments/72880460","id":72880460,"diff_hunk":"@@ -0,0 +1,46 @@\n+.jumbotron\n+  .container.text-center\n+    = image_tag(\"header_logo.png\", alt: \"PROTO TYPE - SHARE THE PROTOTYPE\", height: \"73px\")\n+\n+.filter-nav\n+  .container\n+    .row\n+      %ul.nav.nav-pills.col-lg-11\n+        %li.active{ role: \"presentation\" }\n+          = link_to 'Popular PROTO', '#'\n+        %li{ role: \"presentation\" }\n+          = link_to 'Newest PROTO', '#'\n+      = button_tag 'View Tags', type: \"button\", class: \"btn btn-default col-lg-1\"\n+\n+.container.proto-list\n+  .row\n+    - @project.each do |project|\n+      .col-sm-4.col-md-3.proto-content\n+        .thumbnail\n+          = link_to '/projects/show' do\n+            = image_tag(\"sample.png\")\n+            .caption\n+              = project.title\n+              .proto-meta\n+                .proto-user\n+                  = link_to project.user.name, user_path(current_user)","path":"app/views/projects/index.html.haml","position":26,"original_position":26,"commit_id":"3e65eee808e9ab119bf7b1f764bb9b2ec781f87c","original_commit_id":"3e65eee808e9ab119bf7b1f764bb9b2ec781f87c","user":{"login":"souichirou","id":14070363,"avatar_url":"https://avatars.githubusercontent.com/u/14070363?v=3","gravatar_id":"","url":"https://api.github.com/users/souichirou","html_url":"https://github.com/souichirou","followers_url":"https://api.github.com/users/souichirou/followers","following_url":"https://api.github.com/users/souichirou/following{/other_user}","gists_url":"https://api.github.com/users/souichirou/gists{/gist_id}","starred_url":"https://api.github.com/users/souichirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souichirou/subscriptions","organizations_url":"https://api.github.com/users/souichirou/orgs","repos_url":"https://api.github.com/users/souichirou/repos","events_url":"https://api.github.com/users/souichirou/events{/privacy}","received_events_url":"https://api.github.com/users/souichirou/received_events","type":"User","site_admin":false},"body":"user_path(current_user)これはprototypeと結びついたユーザーのidじゃないと、自分の投稿したやつじゃなくても、毎回自分のマイページにいってしまうよ！","created_at":"2016-07-30T02:28:11Z","updated_at":"2016-07-30T02:28:11Z","html_url":"https://github.com/KaikiHamaguchi/Protospace/pull/17#discussion_r72880460","pull_request_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/comments/72880460"},"html":{"href":"https://github.com/KaikiHamaguchi/Protospace/pull/17#discussion_r72880460"},"pull_request":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/17","id":79443806,"html_url":"https://github.com/KaikiHamaguchi/Protospace/pull/17","diff_url":"https://github.com/KaikiHamaguchi/Protospace/pull/17.diff","patch_url":"https://github.com/KaikiHamaguchi/Protospace/pull/17.patch","issue_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/17","number":17,"state":"open","locked":false,"title":"投稿機能の実装。indexアクションに@project=Project.allを定義してビューでeachを使うことによって投稿がindex…","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\n投稿機能の実装。indexアクションに@project=Project.allを定義してビューでeachを使うことによって投稿がindexのビューで表示されるようにした。\r\n# WHY\r\nユーザーがNEWPROTOを押して投稿したものをビューに反映させるため。","created_at":"2016-07-30T01:25:02Z","updated_at":"2016-07-30T02:28:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f974ad8e3be30ef2c8103092fdb4f332e1d9cced","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/17/commits","review_comments_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/17/comments","review_comment_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/17/comments","statuses_url":"https://api.github.com/repos/KaikiHamaguchi/Protospace/statuses/3e65eee808e9ab119bf7b1f764bb9b2ec781f87c","head":{"label":"KaikiHamaguchi:Posting_project","ref":"Posting_project","sha":"3e65eee808e9ab119bf7b1f764bb9b2ec781f87c","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-06-09T13:03:49Z","pushed_at":"2016-07-30T01:25:02Z","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":560,"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":"9ceb0c9382e8ad5184271c6d20d760ee2a380948","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-06-09T13:03:49Z","pushed_at":"2016-07-30T01:25:02Z","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":560,"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/17"},"html":{"href":"https://github.com/KaikiHamaguchi/Protospace/pull/17"},"issue":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/17"},"comments":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/KaikiHamaguchi/Protospace/statuses/3e65eee808e9ab119bf7b1f764bb9b2ec781f87c"}}}}
{"actor":{"display_login":"souichirou"}}