{"action":"created","comment":{"url":"https://api.github.com/repos/tadahaya/eal/pulls/comments/207725633","pull_request_review_id":143400227,"id":207725633,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzcyNTYzMw==","diff_hunk":"@@ -1,13 +1,21 @@\n <div class=\"pet container\">\n-  <% if user_signed_in? %>\n-    <% @pets.each do |pet| %>\n-      <%= link_to pet_path(pet) do %>\n-        <%= image_tag \"#{pet.prof_image}\", alt: pet.name %>\n-        <%= pet.name %>\n+  <div class=\"row\">\n+    <% if user_signed_in? %>\n+      <% @pets.each do |pet| %>\n+        <div class=\"mypet-field\">\n+          <%= link_to pet_path(pet) do %>\n+            <% if pet.prof_image.url %>\n+              <%= image_tag \"#{pet.prof_image}\" %>","path":"app/views/pets/_mypets.html.erb","position":13,"original_position":13,"commit_id":"d9cd985a17303c2902602a011e10aa19265a73fd","original_commit_id":"d9cd985a17303c2902602a011e10aa19265a73fd","user":{"login":"tadahaya","id":38398509,"node_id":"MDQ6VXNlcjM4Mzk4NTA5","avatar_url":"https://avatars2.githubusercontent.com/u/38398509?v=4","gravatar_id":"","url":"https://api.github.com/users/tadahaya","html_url":"https://github.com/tadahaya","followers_url":"https://api.github.com/users/tadahaya/followers","following_url":"https://api.github.com/users/tadahaya/following{/other_user}","gists_url":"https://api.github.com/users/tadahaya/gists{/gist_id}","starred_url":"https://api.github.com/users/tadahaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadahaya/subscriptions","organizations_url":"https://api.github.com/users/tadahaya/orgs","repos_url":"https://api.github.com/users/tadahaya/repos","events_url":"https://api.github.com/users/tadahaya/events{/privacy}","received_events_url":"https://api.github.com/users/tadahaya/received_events","type":"User","site_admin":false},"body":"ありがとうございます、修正しました。\r\nこれを受けて式展開について少し曖昧なところがあったため、補完しました。","created_at":"2018-08-05T05:17:23Z","updated_at":"2018-08-05T05:17:23Z","html_url":"https://github.com/tadahaya/eal/pull/26#discussion_r207725633","pull_request_url":"https://api.github.com/repos/tadahaya/eal/pulls/26","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/tadahaya/eal/pulls/comments/207725633"},"html":{"href":"https://github.com/tadahaya/eal/pull/26#discussion_r207725633"},"pull_request":{"href":"https://api.github.com/repos/tadahaya/eal/pulls/26"}},"in_reply_to_id":207725517},"pull_request":{"url":"https://api.github.com/repos/tadahaya/eal/pulls/26","id":206191283,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MTkxMjgz","html_url":"https://github.com/tadahaya/eal/pull/26","diff_url":"https://github.com/tadahaya/eal/pull/26.diff","patch_url":"https://github.com/tadahaya/eal/pull/26.patch","issue_url":"https://api.github.com/repos/tadahaya/eal/issues/26","number":26,"state":"open","locked":false,"title":"ペットのEDIT機能","user":{"login":"tadahaya","id":38398509,"node_id":"MDQ6VXNlcjM4Mzk4NTA5","avatar_url":"https://avatars2.githubusercontent.com/u/38398509?v=4","gravatar_id":"","url":"https://api.github.com/users/tadahaya","html_url":"https://github.com/tadahaya","followers_url":"https://api.github.com/users/tadahaya/followers","following_url":"https://api.github.com/users/tadahaya/following{/other_user}","gists_url":"https://api.github.com/users/tadahaya/gists{/gist_id}","starred_url":"https://api.github.com/users/tadahaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadahaya/subscriptions","organizations_url":"https://api.github.com/users/tadahaya/orgs","repos_url":"https://api.github.com/users/tadahaya/repos","events_url":"https://api.github.com/users/tadahaya/events{/privacy}","received_events_url":"https://api.github.com/users/tadahaya/received_events","type":"User","site_admin":false},"body":"#What\r\n・ペットの登録情報を修正できる\r\n1. 修正までの遷移\r\nhttps://gyazo.com/7ca014b16a44960e511a33b6054038e4\r\n2. 修正後のステータス\r\n（takoyaki => takoyakiマントマン)\r\nhttps://gyazo.com/309d2d786582bd8d337b6d21ecd5fa0c\r\n・Newのタイミングではプロフィールは登録しないが、Editのタイミングでは登録可能になっている。\r\n\r\n3.追加機能：ペット画像が登録されていない場合は、ダミー画像が表示される\r\n\r\n#Why\r\nユーザビリティ向上","created_at":"2018-08-04T12:50:28Z","updated_at":"2018-08-05T05:17:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be6fd285f97982995c1b73d267e413a37f6e0868","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tadahaya/eal/pulls/26/commits","review_comments_url":"https://api.github.com/repos/tadahaya/eal/pulls/26/comments","review_comment_url":"https://api.github.com/repos/tadahaya/eal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tadahaya/eal/issues/26/comments","statuses_url":"https://api.github.com/repos/tadahaya/eal/statuses/d9cd985a17303c2902602a011e10aa19265a73fd","head":{"label":"tadahaya:ペットのEDIT機能","ref":"ペットのEDIT機能","sha":"d9cd985a17303c2902602a011e10aa19265a73fd","user":{"login":"tadahaya","id":38398509,"node_id":"MDQ6VXNlcjM4Mzk4NTA5","avatar_url":"https://avatars2.githubusercontent.com/u/38398509?v=4","gravatar_id":"","url":"https://api.github.com/users/tadahaya","html_url":"https://github.com/tadahaya","followers_url":"https://api.github.com/users/tadahaya/followers","following_url":"https://api.github.com/users/tadahaya/following{/other_user}","gists_url":"https://api.github.com/users/tadahaya/gists{/gist_id}","starred_url":"https://api.github.com/users/tadahaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadahaya/subscriptions","organizations_url":"https://api.github.com/users/tadahaya/orgs","repos_url":"https://api.github.com/users/tadahaya/repos","events_url":"https://api.github.com/users/tadahaya/events{/privacy}","received_events_url":"https://api.github.com/users/tadahaya/received_events","type":"User","site_admin":false},"repo":{"id":141796750,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE3OTY3NTA=","name":"eal","full_name":"tadahaya/eal","owner":{"login":"tadahaya","id":38398509,"node_id":"MDQ6VXNlcjM4Mzk4NTA5","avatar_url":"https://avatars2.githubusercontent.com/u/38398509?v=4","gravatar_id":"","url":"https://api.github.com/users/tadahaya","html_url":"https://github.com/tadahaya","followers_url":"https://api.github.com/users/tadahaya/followers","following_url":"https://api.github.com/users/tadahaya/following{/other_user}","gists_url":"https://api.github.com/users/tadahaya/gists{/gist_id}","starred_url":"https://api.github.com/users/tadahaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadahaya/subscriptions","organizations_url":"https://api.github.com/users/tadahaya/orgs","repos_url":"https://api.github.com/users/tadahaya/repos","events_url":"https://api.github.com/users/tadahaya/events{/privacy}","received_events_url":"https://api.github.com/users/tadahaya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tadahaya/eal","description":"Exotic Animal Life","fork":false,"url":"https://api.github.com/repos/tadahaya/eal","forks_url":"https://api.github.com/repos/tadahaya/eal/forks","keys_url":"https://api.github.com/repos/tadahaya/eal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tadahaya/eal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tadahaya/eal/teams","hooks_url":"https://api.github.com/repos/tadahaya/eal/hooks","issue_events_url":"https://api.github.com/repos/tadahaya/eal/issues/events{/number}","events_url":"https://api.github.com/repos/tadahaya/eal/events","assignees_url":"https://api.github.com/repos/tadahaya/eal/assignees{/user}","branches_url":"https://api.github.com/repos/tadahaya/eal/branches{/branch}","tags_url":"https://api.github.com/repos/tadahaya/eal/tags","blobs_url":"https://api.github.com/repos/tadahaya/eal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tadahaya/eal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tadahaya/eal/git/refs{/sha}","trees_url":"https://api.github.com/repos/tadahaya/eal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tadahaya/eal/statuses/{sha}","languages_url":"https://api.github.com/repos/tadahaya/eal/languages","stargazers_url":"https://api.github.com/repos/tadahaya/eal/stargazers","contributors_url":"https://api.github.com/repos/tadahaya/eal/contributors","subscribers_url":"https://api.github.com/repos/tadahaya/eal/subscribers","subscription_url":"https://api.github.com/repos/tadahaya/eal/subscription","commits_url":"https://api.github.com/repos/tadahaya/eal/commits{/sha}","git_commits_url":"https://api.github.com/repos/tadahaya/eal/git/commits{/sha}","comments_url":"https://api.github.com/repos/tadahaya/eal/comments{/number}","issue_comment_url":"https://api.github.com/repos/tadahaya/eal/issues/comments{/number}","contents_url":"https://api.github.com/repos/tadahaya/eal/contents/{+path}","compare_url":"https://api.github.com/repos/tadahaya/eal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tadahaya/eal/merges","archive_url":"https://api.github.com/repos/tadahaya/eal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tadahaya/eal/downloads","issues_url":"https://api.github.com/repos/tadahaya/eal/issues{/number}","pulls_url":"https://api.github.com/repos/tadahaya/eal/pulls{/number}","milestones_url":"https://api.github.com/repos/tadahaya/eal/milestones{/number}","notifications_url":"https://api.github.com/repos/tadahaya/eal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tadahaya/eal/labels{/name}","releases_url":"https://api.github.com/repos/tadahaya/eal/releases{/id}","deployments_url":"https://api.github.com/repos/tadahaya/eal/deployments","created_at":"2018-07-21T08:57:53Z","updated_at":"2018-08-05T04:55:14Z","pushed_at":"2018-08-05T04:45:36Z","git_url":"git://github.com/tadahaya/eal.git","ssh_url":"git@github.com:tadahaya/eal.git","clone_url":"https://github.com/tadahaya/eal.git","svn_url":"https://github.com/tadahaya/eal","homepage":"","size":2784,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tadahaya:master","ref":"master","sha":"8fdfc82f893a2186d341f30e9d2ce69968f7a2e3","user":{"login":"tadahaya","id":38398509,"node_id":"MDQ6VXNlcjM4Mzk4NTA5","avatar_url":"https://avatars2.githubusercontent.com/u/38398509?v=4","gravatar_id":"","url":"https://api.github.com/users/tadahaya","html_url":"https://github.com/tadahaya","followers_url":"https://api.github.com/users/tadahaya/followers","following_url":"https://api.github.com/users/tadahaya/following{/other_user}","gists_url":"https://api.github.com/users/tadahaya/gists{/gist_id}","starred_url":"https://api.github.com/users/tadahaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadahaya/subscriptions","organizations_url":"https://api.github.com/users/tadahaya/orgs","repos_url":"https://api.github.com/users/tadahaya/repos","events_url":"https://api.github.com/users/tadahaya/events{/privacy}","received_events_url":"https://api.github.com/users/tadahaya/received_events","type":"User","site_admin":false},"repo":{"id":141796750,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE3OTY3NTA=","name":"eal","full_name":"tadahaya/eal","owner":{"login":"tadahaya","id":38398509,"node_id":"MDQ6VXNlcjM4Mzk4NTA5","avatar_url":"https://avatars2.githubusercontent.com/u/38398509?v=4","gravatar_id":"","url":"https://api.github.com/users/tadahaya","html_url":"https://github.com/tadahaya","followers_url":"https://api.github.com/users/tadahaya/followers","following_url":"https://api.github.com/users/tadahaya/following{/other_user}","gists_url":"https://api.github.com/users/tadahaya/gists{/gist_id}","starred_url":"https://api.github.com/users/tadahaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadahaya/subscriptions","organizations_url":"https://api.github.com/users/tadahaya/orgs","repos_url":"https://api.github.com/users/tadahaya/repos","events_url":"https://api.github.com/users/tadahaya/events{/privacy}","received_events_url":"https://api.github.com/users/tadahaya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tadahaya/eal","description":"Exotic Animal Life","fork":false,"url":"https://api.github.com/repos/tadahaya/eal","forks_url":"https://api.github.com/repos/tadahaya/eal/forks","keys_url":"https://api.github.com/repos/tadahaya/eal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tadahaya/eal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tadahaya/eal/teams","hooks_url":"https://api.github.com/repos/tadahaya/eal/hooks","issue_events_url":"https://api.github.com/repos/tadahaya/eal/issues/events{/number}","events_url":"https://api.github.com/repos/tadahaya/eal/events","assignees_url":"https://api.github.com/repos/tadahaya/eal/assignees{/user}","branches_url":"https://api.github.com/repos/tadahaya/eal/branches{/branch}","tags_url":"https://api.github.com/repos/tadahaya/eal/tags","blobs_url":"https://api.github.com/repos/tadahaya/eal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tadahaya/eal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tadahaya/eal/git/refs{/sha}","trees_url":"https://api.github.com/repos/tadahaya/eal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tadahaya/eal/statuses/{sha}","languages_url":"https://api.github.com/repos/tadahaya/eal/languages","stargazers_url":"https://api.github.com/repos/tadahaya/eal/stargazers","contributors_url":"https://api.github.com/repos/tadahaya/eal/contributors","subscribers_url":"https://api.github.com/repos/tadahaya/eal/subscribers","subscription_url":"https://api.github.com/repos/tadahaya/eal/subscription","commits_url":"https://api.github.com/repos/tadahaya/eal/commits{/sha}","git_commits_url":"https://api.github.com/repos/tadahaya/eal/git/commits{/sha}","comments_url":"https://api.github.com/repos/tadahaya/eal/comments{/number}","issue_comment_url":"https://api.github.com/repos/tadahaya/eal/issues/comments{/number}","contents_url":"https://api.github.com/repos/tadahaya/eal/contents/{+path}","compare_url":"https://api.github.com/repos/tadahaya/eal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tadahaya/eal/merges","archive_url":"https://api.github.com/repos/tadahaya/eal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tadahaya/eal/downloads","issues_url":"https://api.github.com/repos/tadahaya/eal/issues{/number}","pulls_url":"https://api.github.com/repos/tadahaya/eal/pulls{/number}","milestones_url":"https://api.github.com/repos/tadahaya/eal/milestones{/number}","notifications_url":"https://api.github.com/repos/tadahaya/eal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tadahaya/eal/labels{/name}","releases_url":"https://api.github.com/repos/tadahaya/eal/releases{/id}","deployments_url":"https://api.github.com/repos/tadahaya/eal/deployments","created_at":"2018-07-21T08:57:53Z","updated_at":"2018-08-05T04:55:14Z","pushed_at":"2018-08-05T04:45:36Z","git_url":"git://github.com/tadahaya/eal.git","ssh_url":"git@github.com:tadahaya/eal.git","clone_url":"https://github.com/tadahaya/eal.git","svn_url":"https://github.com/tadahaya/eal","homepage":"","size":2784,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tadahaya/eal/pulls/26"},"html":{"href":"https://github.com/tadahaya/eal/pull/26"},"issue":{"href":"https://api.github.com/repos/tadahaya/eal/issues/26"},"comments":{"href":"https://api.github.com/repos/tadahaya/eal/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/tadahaya/eal/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/tadahaya/eal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tadahaya/eal/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/tadahaya/eal/statuses/d9cd985a17303c2902602a011e10aa19265a73fd"}},"author_association":"OWNER"}}
{"actor":{"display_login":"tadahaya"}}