{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/comments/59601816","id":59601816,"diff_hunk":"@@ -1,3 +1,3 @@\n <div class=\"row\">\n-  <%= render @images %>\n+  <%= render @images.reverse %>","path":"app/views/images/index.html.erb","position":null,"original_position":3,"commit_id":"235f41f3e2217174dbed06561499ed518ba26f87","original_commit_id":"235f41f3e2217174dbed06561499ed518ba26f87","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":"The view should not need to change the order of images. That should be handled by the controller. Additionally, it should be done using the `order` method with sort parameters rather than calling `reverse` on the result of the query.","created_at":"2016-04-13T18:36:48Z","updated_at":"2016-04-13T18:36:48Z","html_url":"https://github.com/AppFolioOnboarding/image-sharer-conproctor/pull/27#discussion_r59601816","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/comments/59601816"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-conproctor/pull/27#discussion_r59601816"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/27","id":66202523,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-conproctor/pull/27","diff_url":"https://github.com/AppFolioOnboarding/image-sharer-conproctor/pull/27.diff","patch_url":"https://github.com/AppFolioOnboarding/image-sharer-conproctor/pull/27.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/issues/27","number":27,"state":"open","locked":false,"title":"Add styles","user":{"login":"conproctor","id":4187394,"avatar_url":"https://avatars.githubusercontent.com/u/4187394?v=3","gravatar_id":"","url":"https://api.github.com/users/conproctor","html_url":"https://github.com/conproctor","followers_url":"https://api.github.com/users/conproctor/followers","following_url":"https://api.github.com/users/conproctor/following{/other_user}","gists_url":"https://api.github.com/users/conproctor/gists{/gist_id}","starred_url":"https://api.github.com/users/conproctor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conproctor/subscriptions","organizations_url":"https://api.github.com/users/conproctor/orgs","repos_url":"https://api.github.com/users/conproctor/repos","events_url":"https://api.github.com/users/conproctor/events{/privacy}","received_events_url":"https://api.github.com/users/conproctor/received_events","type":"User","site_admin":false},"body":"Closes #6 \r\n","created_at":"2016-04-12T18:11:14Z","updated_at":"2016-04-13T18:36:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35f7b34164b56d21b7fbf8d29517356120b74881","assignee":{"login":"aaronpanch","id":1779563,"avatar_url":"https://avatars.githubusercontent.com/u/1779563?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronpanch","html_url":"https://github.com/aaronpanch","followers_url":"https://api.github.com/users/aaronpanch/followers","following_url":"https://api.github.com/users/aaronpanch/following{/other_user}","gists_url":"https://api.github.com/users/aaronpanch/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronpanch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronpanch/subscriptions","organizations_url":"https://api.github.com/users/aaronpanch/orgs","repos_url":"https://api.github.com/users/aaronpanch/repos","events_url":"https://api.github.com/users/aaronpanch/events{/privacy}","received_events_url":"https://api.github.com/users/aaronpanch/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/27/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/27/comments","review_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/issues/27/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/statuses/235f41f3e2217174dbed06561499ed518ba26f87","head":{"label":"AppFolioOnboarding:AddStyles","ref":"AddStyles","sha":"235f41f3e2217174dbed06561499ed518ba26f87","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":55442188,"name":"image-sharer-conproctor","full_name":"AppFolioOnboarding/image-sharer-conproctor","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-conproctor","description":"image-sharer-conproctor created by Classroom for GitHub","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/deployments","created_at":"2016-04-04T20:23:55Z","updated_at":"2016-04-04T20:24:05Z","pushed_at":"2016-04-13T17:54:24Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-conproctor.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-conproctor.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-conproctor.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-conproctor","homepage":null,"size":71,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"7621ebeef3ef7d281affa239069374a07188d718","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":55442188,"name":"image-sharer-conproctor","full_name":"AppFolioOnboarding/image-sharer-conproctor","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-conproctor","description":"image-sharer-conproctor created by Classroom for GitHub","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/deployments","created_at":"2016-04-04T20:23:55Z","updated_at":"2016-04-04T20:24:05Z","pushed_at":"2016-04-13T17:54:24Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-conproctor.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-conproctor.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-conproctor.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-conproctor","homepage":null,"size":71,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/27"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-conproctor/pull/27"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/issues/27"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-conproctor/statuses/235f41f3e2217174dbed06561499ed518ba26f87"}}}}