{"action":"created","comment":{"url":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/comments/205660500","pull_request_review_id":140976696,"id":205660500,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTY2MDUwMA==","diff_hunk":"@@ -126,36 +126,7 @@\n               content.id, \"?select_id=#{content.id}\") do\n                 %button.project-select-button  このリターンを購入する\n       - else\n-        - @returns.each do |content|\n-          .project-return\n-            .project-return__title\n-              %h3= content.title\n-            .project-return__price\n-              %i.fa.fa-jpy\n-              %strong= number_with_delimiter(content.price)\n-              %span 円のリターン\n-            .project-return__image\n-              = image_tag( \"#{content.returnimage}\" )\n-            .project-return__content\n-              %p= simple_format(content.content)\n-            .project-return__helper\n-              %span.fa-stack.fa-lg\n-                %i.fa.fa-circle-o.fa-stack-2x\n-                %i.fa.fa-user.fa-stack-1x\n-              %span ０人が支援中/\n-              - if content.stock === 0\n-                %span 在庫制限なし\n-              - else\n-                %span 残り#{ number_with_delimiter(content.price) }個\n-            .project-return__arrival\n-              %span.fa-stack.fa-lg\n-                %i.fa.fa-circle-o.fa-stack-2x\n-                %i.fa.fa-gift.fa-stack-1x\n-              %span #{ content.arrival_date.year }年#{ content.arrival_date.month }月に発送予定です。\n-            .project-return__purchase\n-              = link_to payment_path(params[:id], 'payment/choice',\n-              content.id, \"?select_id=#{content.id}\") do\n-                %button.project-select-button  このリターンを購入する\n+        = render partial: 'shared/return-list', locals: {return: @returns }","path":"app/views/projects/show.html.haml","position":34,"original_position":34,"commit_id":"439abc413e1a30a65ef5d015298863607cda87f7","original_commit_id":"439abc413e1a30a65ef5d015298863607cda87f7","user":{"login":"yutosekiya","id":23643383,"node_id":"MDQ6VXNlcjIzNjQzMzgz","avatar_url":"https://avatars2.githubusercontent.com/u/23643383?v=4","gravatar_id":"","url":"https://api.github.com/users/yutosekiya","html_url":"https://github.com/yutosekiya","followers_url":"https://api.github.com/users/yutosekiya/followers","following_url":"https://api.github.com/users/yutosekiya/following{/other_user}","gists_url":"https://api.github.com/users/yutosekiya/gists{/gist_id}","starred_url":"https://api.github.com/users/yutosekiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yutosekiya/subscriptions","organizations_url":"https://api.github.com/users/yutosekiya/orgs","repos_url":"https://api.github.com/users/yutosekiya/repos","events_url":"https://api.github.com/users/yutosekiya/events{/privacy}","received_events_url":"https://api.github.com/users/yutosekiya/received_events","type":"User","site_admin":false},"body":"修正しました。","created_at":"2018-07-27T03:47:19Z","updated_at":"2018-07-27T03:47:19Z","html_url":"https://github.com/Th0rt/Readyfor_29/pull/138#discussion_r205660500","pull_request_url":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/138","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/comments/205660500"},"html":{"href":"https://github.com/Th0rt/Readyfor_29/pull/138#discussion_r205660500"},"pull_request":{"href":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/138"}},"in_reply_to_id":205659558},"pull_request":{"url":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/138","id":203862768,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzODYyNzY4","html_url":"https://github.com/Th0rt/Readyfor_29/pull/138","diff_url":"https://github.com/Th0rt/Readyfor_29/pull/138.diff","patch_url":"https://github.com/Th0rt/Readyfor_29/pull/138.patch","issue_url":"https://api.github.com/repos/Th0rt/Readyfor_29/issues/138","number":138,"state":"open","locked":false,"title":"ユーザーのリターンの一覧表示","user":{"login":"yutosekiya","id":23643383,"node_id":"MDQ6VXNlcjIzNjQzMzgz","avatar_url":"https://avatars2.githubusercontent.com/u/23643383?v=4","gravatar_id":"","url":"https://api.github.com/users/yutosekiya","html_url":"https://github.com/yutosekiya","followers_url":"https://api.github.com/users/yutosekiya/followers","following_url":"https://api.github.com/users/yutosekiya/following{/other_user}","gists_url":"https://api.github.com/users/yutosekiya/gists{/gist_id}","starred_url":"https://api.github.com/users/yutosekiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yutosekiya/subscriptions","organizations_url":"https://api.github.com/users/yutosekiya/orgs","repos_url":"https://api.github.com/users/yutosekiya/repos","events_url":"https://api.github.com/users/yutosekiya/events{/privacy}","received_events_url":"https://api.github.com/users/yutosekiya/received_events","type":"User","site_admin":false},"body":"## What\r\nユーザーの購入したリターンを表示する機能を実装\r\n\r\n## Why\r\nユーザーがリターン購入後に、購入したリターンを確認するため\r\n\r\n【確認方法】\r\n①ユーザーでログイン\r\n②(1)リターンを購入しないでユーザーの購入履歴(users/:id)のページを確認し、if文が機能しているか\r\n②(2)リターンを購入→users/:idのページで購入したリターンが一覧で表示されているか\r\n\r\n【意見をもらいたいところ】\r\n①一覧のテーブルに表示する内容で追加したいものがあれば教えてください\r\n②できれば購入したリターンを削除する機能も別途で作成し、テーブルに加えたいと思ってますがいかがでしょうか","created_at":"2018-07-25T14:47:45Z","updated_at":"2018-07-27T03:47:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"338e2e8f7a5780f03807adf73d9784601e8ab4b6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/138/commits","review_comments_url":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/138/comments","review_comment_url":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Th0rt/Readyfor_29/issues/138/comments","statuses_url":"https://api.github.com/repos/Th0rt/Readyfor_29/statuses/439abc413e1a30a65ef5d015298863607cda87f7","head":{"label":"Th0rt:ユーザーのリターンの一覧表示","ref":"ユーザーのリターンの一覧表示","sha":"439abc413e1a30a65ef5d015298863607cda87f7","user":{"login":"Th0rt","id":29520067,"node_id":"MDQ6VXNlcjI5NTIwMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/29520067?v=4","gravatar_id":"","url":"https://api.github.com/users/Th0rt","html_url":"https://github.com/Th0rt","followers_url":"https://api.github.com/users/Th0rt/followers","following_url":"https://api.github.com/users/Th0rt/following{/other_user}","gists_url":"https://api.github.com/users/Th0rt/gists{/gist_id}","starred_url":"https://api.github.com/users/Th0rt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Th0rt/subscriptions","organizations_url":"https://api.github.com/users/Th0rt/orgs","repos_url":"https://api.github.com/users/Th0rt/repos","events_url":"https://api.github.com/users/Th0rt/events{/privacy}","received_events_url":"https://api.github.com/users/Th0rt/received_events","type":"User","site_admin":false},"repo":{"id":138814814,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg4MTQ4MTQ=","name":"Readyfor_29","full_name":"Th0rt/Readyfor_29","owner":{"login":"Th0rt","id":29520067,"node_id":"MDQ6VXNlcjI5NTIwMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/29520067?v=4","gravatar_id":"","url":"https://api.github.com/users/Th0rt","html_url":"https://github.com/Th0rt","followers_url":"https://api.github.com/users/Th0rt/followers","following_url":"https://api.github.com/users/Th0rt/following{/other_user}","gists_url":"https://api.github.com/users/Th0rt/gists{/gist_id}","starred_url":"https://api.github.com/users/Th0rt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Th0rt/subscriptions","organizations_url":"https://api.github.com/users/Th0rt/orgs","repos_url":"https://api.github.com/users/Th0rt/repos","events_url":"https://api.github.com/users/Th0rt/events{/privacy}","received_events_url":"https://api.github.com/users/Th0rt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Th0rt/Readyfor_29","description":"TECH::EXPERT 29期 最終課題","fork":false,"url":"https://api.github.com/repos/Th0rt/Readyfor_29","forks_url":"https://api.github.com/repos/Th0rt/Readyfor_29/forks","keys_url":"https://api.github.com/repos/Th0rt/Readyfor_29/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Th0rt/Readyfor_29/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Th0rt/Readyfor_29/teams","hooks_url":"https://api.github.com/repos/Th0rt/Readyfor_29/hooks","issue_events_url":"https://api.github.com/repos/Th0rt/Readyfor_29/issues/events{/number}","events_url":"https://api.github.com/repos/Th0rt/Readyfor_29/events","assignees_url":"https://api.github.com/repos/Th0rt/Readyfor_29/assignees{/user}","branches_url":"https://api.github.com/repos/Th0rt/Readyfor_29/branches{/branch}","tags_url":"https://api.github.com/repos/Th0rt/Readyfor_29/tags","blobs_url":"https://api.github.com/repos/Th0rt/Readyfor_29/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Th0rt/Readyfor_29/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Th0rt/Readyfor_29/git/refs{/sha}","trees_url":"https://api.github.com/repos/Th0rt/Readyfor_29/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Th0rt/Readyfor_29/statuses/{sha}","languages_url":"https://api.github.com/repos/Th0rt/Readyfor_29/languages","stargazers_url":"https://api.github.com/repos/Th0rt/Readyfor_29/stargazers","contributors_url":"https://api.github.com/repos/Th0rt/Readyfor_29/contributors","subscribers_url":"https://api.github.com/repos/Th0rt/Readyfor_29/subscribers","subscription_url":"https://api.github.com/repos/Th0rt/Readyfor_29/subscription","commits_url":"https://api.github.com/repos/Th0rt/Readyfor_29/commits{/sha}","git_commits_url":"https://api.github.com/repos/Th0rt/Readyfor_29/git/commits{/sha}","comments_url":"https://api.github.com/repos/Th0rt/Readyfor_29/comments{/number}","issue_comment_url":"https://api.github.com/repos/Th0rt/Readyfor_29/issues/comments{/number}","contents_url":"https://api.github.com/repos/Th0rt/Readyfor_29/contents/{+path}","compare_url":"https://api.github.com/repos/Th0rt/Readyfor_29/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Th0rt/Readyfor_29/merges","archive_url":"https://api.github.com/repos/Th0rt/Readyfor_29/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Th0rt/Readyfor_29/downloads","issues_url":"https://api.github.com/repos/Th0rt/Readyfor_29/issues{/number}","pulls_url":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls{/number}","milestones_url":"https://api.github.com/repos/Th0rt/Readyfor_29/milestones{/number}","notifications_url":"https://api.github.com/repos/Th0rt/Readyfor_29/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Th0rt/Readyfor_29/labels{/name}","releases_url":"https://api.github.com/repos/Th0rt/Readyfor_29/releases{/id}","deployments_url":"https://api.github.com/repos/Th0rt/Readyfor_29/deployments","created_at":"2018-06-27T01:43:38Z","updated_at":"2018-07-27T03:21:13Z","pushed_at":"2018-07-27T03:22:52Z","git_url":"git://github.com/Th0rt/Readyfor_29.git","ssh_url":"git@github.com:Th0rt/Readyfor_29.git","clone_url":"https://github.com/Th0rt/Readyfor_29.git","svn_url":"https://github.com/Th0rt/Readyfor_29","homepage":null,"size":854,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":35,"license":null,"forks":0,"open_issues":35,"watchers":0,"default_branch":"master"}},"base":{"label":"Th0rt:master","ref":"master","sha":"237bb10cf2d687d3464beebadbc385caeac92dd4","user":{"login":"Th0rt","id":29520067,"node_id":"MDQ6VXNlcjI5NTIwMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/29520067?v=4","gravatar_id":"","url":"https://api.github.com/users/Th0rt","html_url":"https://github.com/Th0rt","followers_url":"https://api.github.com/users/Th0rt/followers","following_url":"https://api.github.com/users/Th0rt/following{/other_user}","gists_url":"https://api.github.com/users/Th0rt/gists{/gist_id}","starred_url":"https://api.github.com/users/Th0rt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Th0rt/subscriptions","organizations_url":"https://api.github.com/users/Th0rt/orgs","repos_url":"https://api.github.com/users/Th0rt/repos","events_url":"https://api.github.com/users/Th0rt/events{/privacy}","received_events_url":"https://api.github.com/users/Th0rt/received_events","type":"User","site_admin":false},"repo":{"id":138814814,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg4MTQ4MTQ=","name":"Readyfor_29","full_name":"Th0rt/Readyfor_29","owner":{"login":"Th0rt","id":29520067,"node_id":"MDQ6VXNlcjI5NTIwMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/29520067?v=4","gravatar_id":"","url":"https://api.github.com/users/Th0rt","html_url":"https://github.com/Th0rt","followers_url":"https://api.github.com/users/Th0rt/followers","following_url":"https://api.github.com/users/Th0rt/following{/other_user}","gists_url":"https://api.github.com/users/Th0rt/gists{/gist_id}","starred_url":"https://api.github.com/users/Th0rt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Th0rt/subscriptions","organizations_url":"https://api.github.com/users/Th0rt/orgs","repos_url":"https://api.github.com/users/Th0rt/repos","events_url":"https://api.github.com/users/Th0rt/events{/privacy}","received_events_url":"https://api.github.com/users/Th0rt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Th0rt/Readyfor_29","description":"TECH::EXPERT 29期 最終課題","fork":false,"url":"https://api.github.com/repos/Th0rt/Readyfor_29","forks_url":"https://api.github.com/repos/Th0rt/Readyfor_29/forks","keys_url":"https://api.github.com/repos/Th0rt/Readyfor_29/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Th0rt/Readyfor_29/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Th0rt/Readyfor_29/teams","hooks_url":"https://api.github.com/repos/Th0rt/Readyfor_29/hooks","issue_events_url":"https://api.github.com/repos/Th0rt/Readyfor_29/issues/events{/number}","events_url":"https://api.github.com/repos/Th0rt/Readyfor_29/events","assignees_url":"https://api.github.com/repos/Th0rt/Readyfor_29/assignees{/user}","branches_url":"https://api.github.com/repos/Th0rt/Readyfor_29/branches{/branch}","tags_url":"https://api.github.com/repos/Th0rt/Readyfor_29/tags","blobs_url":"https://api.github.com/repos/Th0rt/Readyfor_29/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Th0rt/Readyfor_29/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Th0rt/Readyfor_29/git/refs{/sha}","trees_url":"https://api.github.com/repos/Th0rt/Readyfor_29/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Th0rt/Readyfor_29/statuses/{sha}","languages_url":"https://api.github.com/repos/Th0rt/Readyfor_29/languages","stargazers_url":"https://api.github.com/repos/Th0rt/Readyfor_29/stargazers","contributors_url":"https://api.github.com/repos/Th0rt/Readyfor_29/contributors","subscribers_url":"https://api.github.com/repos/Th0rt/Readyfor_29/subscribers","subscription_url":"https://api.github.com/repos/Th0rt/Readyfor_29/subscription","commits_url":"https://api.github.com/repos/Th0rt/Readyfor_29/commits{/sha}","git_commits_url":"https://api.github.com/repos/Th0rt/Readyfor_29/git/commits{/sha}","comments_url":"https://api.github.com/repos/Th0rt/Readyfor_29/comments{/number}","issue_comment_url":"https://api.github.com/repos/Th0rt/Readyfor_29/issues/comments{/number}","contents_url":"https://api.github.com/repos/Th0rt/Readyfor_29/contents/{+path}","compare_url":"https://api.github.com/repos/Th0rt/Readyfor_29/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Th0rt/Readyfor_29/merges","archive_url":"https://api.github.com/repos/Th0rt/Readyfor_29/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Th0rt/Readyfor_29/downloads","issues_url":"https://api.github.com/repos/Th0rt/Readyfor_29/issues{/number}","pulls_url":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls{/number}","milestones_url":"https://api.github.com/repos/Th0rt/Readyfor_29/milestones{/number}","notifications_url":"https://api.github.com/repos/Th0rt/Readyfor_29/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Th0rt/Readyfor_29/labels{/name}","releases_url":"https://api.github.com/repos/Th0rt/Readyfor_29/releases{/id}","deployments_url":"https://api.github.com/repos/Th0rt/Readyfor_29/deployments","created_at":"2018-06-27T01:43:38Z","updated_at":"2018-07-27T03:21:13Z","pushed_at":"2018-07-27T03:22:52Z","git_url":"git://github.com/Th0rt/Readyfor_29.git","ssh_url":"git@github.com:Th0rt/Readyfor_29.git","clone_url":"https://github.com/Th0rt/Readyfor_29.git","svn_url":"https://github.com/Th0rt/Readyfor_29","homepage":null,"size":854,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":35,"license":null,"forks":0,"open_issues":35,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/138"},"html":{"href":"https://github.com/Th0rt/Readyfor_29/pull/138"},"issue":{"href":"https://api.github.com/repos/Th0rt/Readyfor_29/issues/138"},"comments":{"href":"https://api.github.com/repos/Th0rt/Readyfor_29/issues/138/comments"},"review_comments":{"href":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/138/comments"},"review_comment":{"href":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Th0rt/Readyfor_29/pulls/138/commits"},"statuses":{"href":"https://api.github.com/repos/Th0rt/Readyfor_29/statuses/439abc413e1a30a65ef5d015298863607cda87f7"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"yutosekiya"}}