{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments/63429823","id":63429823,"diff_hunk":"@@ -0,0 +1,8 @@\n+<h1 class=\"heading\">Listing of Tags</h1>\n+<div id=\"tags_list\" class=\"row\">\n+  <% @tags.each_with_index do |tag, i| %>\n+    <div class=\"js-tag col-sm-2 col-xs-12\">\n+      <%= link_to tag, images_path(tag: tag.name), class: \"btn btn-info js-tag-#{i}\" %>","path":"app/views/tags/index.html.erb","position":5,"original_position":5,"commit_id":"edb095c74afc9e608ab2271215d4101189501a33","original_commit_id":"edb095c74afc9e608ab2271215d4101189501a33","user":{"login":"rmacklin","id":1863540,"avatar_url":"https://avatars.githubusercontent.com/u/1863540?v=3","gravatar_id":"","url":"https://api.github.com/users/rmacklin","html_url":"https://github.com/rmacklin","followers_url":"https://api.github.com/users/rmacklin/followers","following_url":"https://api.github.com/users/rmacklin/following{/other_user}","gists_url":"https://api.github.com/users/rmacklin/gists{/gist_id}","starred_url":"https://api.github.com/users/rmacklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmacklin/subscriptions","organizations_url":"https://api.github.com/users/rmacklin/orgs","repos_url":"https://api.github.com/users/rmacklin/repos","events_url":"https://api.github.com/users/rmacklin/events{/privacy}","received_events_url":"https://api.github.com/users/rmacklin/received_events","type":"User","site_admin":false},"body":"> why we need count here?\r\n\r\nYou are querying for the counts [here](https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/blob/edb095c74afc9e608ab2271215d4101189501a33/app/controllers/tags_controller.rb#L3). I assumed you did that because you wanted to show how many images are associated with each tag on the tags index page (which I thought was a good idea).","created_at":"2016-05-16T21:32:48Z","updated_at":"2016-05-16T21:32:48Z","html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/46#discussion_r63429823","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments/63429823"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/46#discussion_r63429823"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/46","id":69917552,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/46","diff_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/46.diff","patch_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/46.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/46","number":46,"state":"open","locked":false,"title":"Tags index","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 #16 \r\n\r\n\r\n\r\n","created_at":"2016-05-12T22:30:39Z","updated_at":"2016-05-16T21:32:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8566282effe836e283b58f31889bfdef7b3c0c5d","assignee":{"login":"ipmsteven","id":1436241,"avatar_url":"https://avatars.githubusercontent.com/u/1436241?v=3","gravatar_id":"","url":"https://api.github.com/users/ipmsteven","html_url":"https://github.com/ipmsteven","followers_url":"https://api.github.com/users/ipmsteven/followers","following_url":"https://api.github.com/users/ipmsteven/following{/other_user}","gists_url":"https://api.github.com/users/ipmsteven/gists{/gist_id}","starred_url":"https://api.github.com/users/ipmsteven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipmsteven/subscriptions","organizations_url":"https://api.github.com/users/ipmsteven/orgs","repos_url":"https://api.github.com/users/ipmsteven/repos","events_url":"https://api.github.com/users/ipmsteven/events{/privacy}","received_events_url":"https://api.github.com/users/ipmsteven/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/46/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/46/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/46/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/edb095c74afc9e608ab2271215d4101189501a33","head":{"label":"AppFolioOnboarding:TagIndex","ref":"TagIndex","sha":"edb095c74afc9e608ab2271215d4101189501a33","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-05-16T21:21:24Z","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":147,"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":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"6413b2988d03af48979f361b58745db750274cba","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-05-16T21:21:24Z","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":147,"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":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/46"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/46"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/46"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/46/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/46/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/edb095c74afc9e608ab2271215d4101189501a33"}}}}