{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments/60984388","id":60984388,"diff_hunk":"@@ -1,10 +1,2 @@\n-<div class=\"image-detail\">\n-  <label class=\"image-detail__label\">Title:</label>\n-  <p id=\"image_title\"><%= @image.title %></p>\n-  <label class=\"image-detail__label\">Tags:</label>\n-  <p id=\"image_tags\"><%= @image.tag_list %></p>\n-  <label class=\"image-detail__label\">Image:</label>\n-  <%= image_tag @image.url, class: 'image-detail__image' %>\n-</div>\n-\n+<%= render partial: 'images/image', locals: {image: @image} %>","path":"app/views/images/show.html.erb","position":10,"original_position":10,"commit_id":"2af556f8d5024cc9734391b181b27ba6404adfea","original_commit_id":"2af556f8d5024cc9734391b181b27ba6404adfea","user":{"login":"wilsonyqm","id":9424989,"avatar_url":"https://avatars.githubusercontent.com/u/9424989?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonyqm","html_url":"https://github.com/wilsonyqm","followers_url":"https://api.github.com/users/wilsonyqm/followers","following_url":"https://api.github.com/users/wilsonyqm/following{/other_user}","gists_url":"https://api.github.com/users/wilsonyqm/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonyqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonyqm/subscriptions","organizations_url":"https://api.github.com/users/wilsonyqm/orgs","repos_url":"https://api.github.com/users/wilsonyqm/repos","events_url":"https://api.github.com/users/wilsonyqm/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonyqm/received_events","type":"User","site_admin":false},"body":"Yep, it works, and this way of implementation is mentioned in the rails tutorial. http://guides.rubyonrails.org/layouts_and_rendering.html#using-partials","created_at":"2016-04-25T20:37:57Z","updated_at":"2016-04-25T20:37:57Z","html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/27#discussion_r60984388","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments/60984388"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/27#discussion_r60984388"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/27","id":66692366,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/27","diff_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/27.diff","patch_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/27.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/27","number":27,"state":"open","locked":false,"title":"Delete image","user":{"login":"wilsonyqm","id":9424989,"avatar_url":"https://avatars.githubusercontent.com/u/9424989?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonyqm","html_url":"https://github.com/wilsonyqm","followers_url":"https://api.github.com/users/wilsonyqm/followers","following_url":"https://api.github.com/users/wilsonyqm/following{/other_user}","gists_url":"https://api.github.com/users/wilsonyqm/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonyqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonyqm/subscriptions","organizations_url":"https://api.github.com/users/wilsonyqm/orgs","repos_url":"https://api.github.com/users/wilsonyqm/repos","events_url":"https://api.github.com/users/wilsonyqm/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonyqm/received_events","type":"User","site_admin":false},"body":"Closes #8\r\n","created_at":"2016-04-15T19:25:25Z","updated_at":"2016-04-25T20:37:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19294eb970f26a86933e8b7246817aa8ea6f68da","assignee":{"login":"bboe","id":48100,"avatar_url":"https://avatars.githubusercontent.com/u/48100?v=3","gravatar_id":"","url":"https://api.github.com/users/bboe","html_url":"https://github.com/bboe","followers_url":"https://api.github.com/users/bboe/followers","following_url":"https://api.github.com/users/bboe/following{/other_user}","gists_url":"https://api.github.com/users/bboe/gists{/gist_id}","starred_url":"https://api.github.com/users/bboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboe/subscriptions","organizations_url":"https://api.github.com/users/bboe/orgs","repos_url":"https://api.github.com/users/bboe/repos","events_url":"https://api.github.com/users/bboe/events{/privacy}","received_events_url":"https://api.github.com/users/bboe/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/27/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/27/comments","review_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/27/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/2af556f8d5024cc9734391b181b27ba6404adfea","head":{"label":"AppFolioOnboarding:deleteImage","ref":"deleteImage","sha":"2af556f8d5024cc9734391b181b27ba6404adfea","user":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":55442589,"name":"image-sharer-wilsonyqm","full_name":"AppFolioOnboarding/image-sharer-wilsonyqm","owner":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm","description":"image-sharer-wilsonyqm created by Classroom for GitHub","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/deployments","created_at":"2016-04-04T20:29:58Z","updated_at":"2016-04-04T20:30:08Z","pushed_at":"2016-04-25T19:04:36Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-wilsonyqm.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm","homepage":null,"size":105,"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":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"5d33e75fe1a1db4757a25a4f0091d43ffe526ca7","user":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":55442589,"name":"image-sharer-wilsonyqm","full_name":"AppFolioOnboarding/image-sharer-wilsonyqm","owner":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm","description":"image-sharer-wilsonyqm created by Classroom for GitHub","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/deployments","created_at":"2016-04-04T20:29:58Z","updated_at":"2016-04-04T20:30:08Z","pushed_at":"2016-04-25T19:04:36Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-wilsonyqm.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm","homepage":null,"size":105,"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":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/27"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/27"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/27"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/2af556f8d5024cc9734391b181b27ba6404adfea"}}}}