{"action":"created","comment":{"url":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/comments/44871850","id":44871850,"diff_hunk":"@@ -4,7 +4,7 @@\n \n <% if books.any? %>\n   <%= link_to(\"Sort by Title\", sort_path(\"title\")) %> |\n-  <%= link_to(\"Sort by Date Added\", sort_path(Book::SORT_CRITERIA_ADDED)) %>\n+  <%= link_to(\"Sort by Newest First\", sort_path(Book::SORT_CRITERIA_ADDED)) %>","path":"app/views/books/index.html.erb","position":5,"original_position":5,"commit_id":"ade8c76123ad38a43564ff441016b47aadf6e9c1","original_commit_id":"ade8c76123ad38a43564ff441016b47aadf6e9c1","user":{"login":"andyw8","id":13400,"avatar_url":"https://avatars.githubusercontent.com/u/13400?v=3","gravatar_id":"","url":"https://api.github.com/users/andyw8","html_url":"https://github.com/andyw8","followers_url":"https://api.github.com/users/andyw8/followers","following_url":"https://api.github.com/users/andyw8/following{/other_user}","gists_url":"https://api.github.com/users/andyw8/gists{/gist_id}","starred_url":"https://api.github.com/users/andyw8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyw8/subscriptions","organizations_url":"https://api.github.com/users/andyw8/orgs","repos_url":"https://api.github.com/users/andyw8/repos","events_url":"https://api.github.com/users/andyw8/events{/privacy}","received_events_url":"https://api.github.com/users/andyw8/received_events","type":"User","site_admin":false},"body":"Good point","created_at":"2015-11-15T13:33:03Z","updated_at":"2015-11-15T13:33:03Z","html_url":"https://github.com/taylorrf/rubybookshelf/pull/27#discussion_r44871850","pull_request_url":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/comments/44871850"},"html":{"href":"https://github.com/taylorrf/rubybookshelf/pull/27#discussion_r44871850"},"pull_request":{"href":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/27","id":50746061,"html_url":"https://github.com/taylorrf/rubybookshelf/pull/27","diff_url":"https://github.com/taylorrf/rubybookshelf/pull/27.diff","patch_url":"https://github.com/taylorrf/rubybookshelf/pull/27.patch","issue_url":"https://api.github.com/repos/taylorrf/rubybookshelf/issues/27","number":27,"state":"open","locked":false,"title":"Fix sorting label","user":{"login":"andyw8","id":13400,"avatar_url":"https://avatars.githubusercontent.com/u/13400?v=3","gravatar_id":"","url":"https://api.github.com/users/andyw8","html_url":"https://github.com/andyw8","followers_url":"https://api.github.com/users/andyw8/followers","following_url":"https://api.github.com/users/andyw8/following{/other_user}","gists_url":"https://api.github.com/users/andyw8/gists{/gist_id}","starred_url":"https://api.github.com/users/andyw8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyw8/subscriptions","organizations_url":"https://api.github.com/users/andyw8/orgs","repos_url":"https://api.github.com/users/andyw8/repos","events_url":"https://api.github.com/users/andyw8/events{/privacy}","received_events_url":"https://api.github.com/users/andyw8/received_events","type":"User","site_admin":false},"body":"We changed the behaviour of this but didn't update the link text.","created_at":"2015-11-15T12:59:58Z","updated_at":"2015-11-15T13:33:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37662595b0e70c3302e461a971241e0f8a2f130e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/27/commits","review_comments_url":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/27/comments","review_comment_url":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taylorrf/rubybookshelf/issues/27/comments","statuses_url":"https://api.github.com/repos/taylorrf/rubybookshelf/statuses/ade8c76123ad38a43564ff441016b47aadf6e9c1","head":{"label":"taylorrf:fix-sorting-label","ref":"fix-sorting-label","sha":"ade8c76123ad38a43564ff441016b47aadf6e9c1","user":{"login":"taylorrf","id":21313,"avatar_url":"https://avatars.githubusercontent.com/u/21313?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorrf","html_url":"https://github.com/taylorrf","followers_url":"https://api.github.com/users/taylorrf/followers","following_url":"https://api.github.com/users/taylorrf/following{/other_user}","gists_url":"https://api.github.com/users/taylorrf/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorrf/subscriptions","organizations_url":"https://api.github.com/users/taylorrf/orgs","repos_url":"https://api.github.com/users/taylorrf/repos","events_url":"https://api.github.com/users/taylorrf/events{/privacy}","received_events_url":"https://api.github.com/users/taylorrf/received_events","type":"User","site_admin":false},"repo":{"id":44841694,"name":"rubybookshelf","full_name":"taylorrf/rubybookshelf","owner":{"login":"taylorrf","id":21313,"avatar_url":"https://avatars.githubusercontent.com/u/21313?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorrf","html_url":"https://github.com/taylorrf","followers_url":"https://api.github.com/users/taylorrf/followers","following_url":"https://api.github.com/users/taylorrf/following{/other_user}","gists_url":"https://api.github.com/users/taylorrf/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorrf/subscriptions","organizations_url":"https://api.github.com/users/taylorrf/orgs","repos_url":"https://api.github.com/users/taylorrf/repos","events_url":"https://api.github.com/users/taylorrf/events{/privacy}","received_events_url":"https://api.github.com/users/taylorrf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taylorrf/rubybookshelf","description":"rubybookshelf app","fork":false,"url":"https://api.github.com/repos/taylorrf/rubybookshelf","forks_url":"https://api.github.com/repos/taylorrf/rubybookshelf/forks","keys_url":"https://api.github.com/repos/taylorrf/rubybookshelf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taylorrf/rubybookshelf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taylorrf/rubybookshelf/teams","hooks_url":"https://api.github.com/repos/taylorrf/rubybookshelf/hooks","issue_events_url":"https://api.github.com/repos/taylorrf/rubybookshelf/issues/events{/number}","events_url":"https://api.github.com/repos/taylorrf/rubybookshelf/events","assignees_url":"https://api.github.com/repos/taylorrf/rubybookshelf/assignees{/user}","branches_url":"https://api.github.com/repos/taylorrf/rubybookshelf/branches{/branch}","tags_url":"https://api.github.com/repos/taylorrf/rubybookshelf/tags","blobs_url":"https://api.github.com/repos/taylorrf/rubybookshelf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taylorrf/rubybookshelf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taylorrf/rubybookshelf/git/refs{/sha}","trees_url":"https://api.github.com/repos/taylorrf/rubybookshelf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taylorrf/rubybookshelf/statuses/{sha}","languages_url":"https://api.github.com/repos/taylorrf/rubybookshelf/languages","stargazers_url":"https://api.github.com/repos/taylorrf/rubybookshelf/stargazers","contributors_url":"https://api.github.com/repos/taylorrf/rubybookshelf/contributors","subscribers_url":"https://api.github.com/repos/taylorrf/rubybookshelf/subscribers","subscription_url":"https://api.github.com/repos/taylorrf/rubybookshelf/subscription","commits_url":"https://api.github.com/repos/taylorrf/rubybookshelf/commits{/sha}","git_commits_url":"https://api.github.com/repos/taylorrf/rubybookshelf/git/commits{/sha}","comments_url":"https://api.github.com/repos/taylorrf/rubybookshelf/comments{/number}","issue_comment_url":"https://api.github.com/repos/taylorrf/rubybookshelf/issues/comments{/number}","contents_url":"https://api.github.com/repos/taylorrf/rubybookshelf/contents/{+path}","compare_url":"https://api.github.com/repos/taylorrf/rubybookshelf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taylorrf/rubybookshelf/merges","archive_url":"https://api.github.com/repos/taylorrf/rubybookshelf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taylorrf/rubybookshelf/downloads","issues_url":"https://api.github.com/repos/taylorrf/rubybookshelf/issues{/number}","pulls_url":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls{/number}","milestones_url":"https://api.github.com/repos/taylorrf/rubybookshelf/milestones{/number}","notifications_url":"https://api.github.com/repos/taylorrf/rubybookshelf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taylorrf/rubybookshelf/labels{/name}","releases_url":"https://api.github.com/repos/taylorrf/rubybookshelf/releases{/id}","created_at":"2015-10-23T22:24:38Z","updated_at":"2015-11-06T07:28:23Z","pushed_at":"2015-11-15T13:18:59Z","git_url":"git://github.com/taylorrf/rubybookshelf.git","ssh_url":"git@github.com:taylorrf/rubybookshelf.git","clone_url":"https://github.com/taylorrf/rubybookshelf.git","svn_url":"https://github.com/taylorrf/rubybookshelf","homepage":"http://rubybookshelf.herokuapp.com/","size":465,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"taylorrf:master","ref":"master","sha":"74e26f2f513902dccefc763d69f76b0827eb6db7","user":{"login":"taylorrf","id":21313,"avatar_url":"https://avatars.githubusercontent.com/u/21313?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorrf","html_url":"https://github.com/taylorrf","followers_url":"https://api.github.com/users/taylorrf/followers","following_url":"https://api.github.com/users/taylorrf/following{/other_user}","gists_url":"https://api.github.com/users/taylorrf/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorrf/subscriptions","organizations_url":"https://api.github.com/users/taylorrf/orgs","repos_url":"https://api.github.com/users/taylorrf/repos","events_url":"https://api.github.com/users/taylorrf/events{/privacy}","received_events_url":"https://api.github.com/users/taylorrf/received_events","type":"User","site_admin":false},"repo":{"id":44841694,"name":"rubybookshelf","full_name":"taylorrf/rubybookshelf","owner":{"login":"taylorrf","id":21313,"avatar_url":"https://avatars.githubusercontent.com/u/21313?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorrf","html_url":"https://github.com/taylorrf","followers_url":"https://api.github.com/users/taylorrf/followers","following_url":"https://api.github.com/users/taylorrf/following{/other_user}","gists_url":"https://api.github.com/users/taylorrf/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorrf/subscriptions","organizations_url":"https://api.github.com/users/taylorrf/orgs","repos_url":"https://api.github.com/users/taylorrf/repos","events_url":"https://api.github.com/users/taylorrf/events{/privacy}","received_events_url":"https://api.github.com/users/taylorrf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taylorrf/rubybookshelf","description":"rubybookshelf app","fork":false,"url":"https://api.github.com/repos/taylorrf/rubybookshelf","forks_url":"https://api.github.com/repos/taylorrf/rubybookshelf/forks","keys_url":"https://api.github.com/repos/taylorrf/rubybookshelf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taylorrf/rubybookshelf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taylorrf/rubybookshelf/teams","hooks_url":"https://api.github.com/repos/taylorrf/rubybookshelf/hooks","issue_events_url":"https://api.github.com/repos/taylorrf/rubybookshelf/issues/events{/number}","events_url":"https://api.github.com/repos/taylorrf/rubybookshelf/events","assignees_url":"https://api.github.com/repos/taylorrf/rubybookshelf/assignees{/user}","branches_url":"https://api.github.com/repos/taylorrf/rubybookshelf/branches{/branch}","tags_url":"https://api.github.com/repos/taylorrf/rubybookshelf/tags","blobs_url":"https://api.github.com/repos/taylorrf/rubybookshelf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taylorrf/rubybookshelf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taylorrf/rubybookshelf/git/refs{/sha}","trees_url":"https://api.github.com/repos/taylorrf/rubybookshelf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taylorrf/rubybookshelf/statuses/{sha}","languages_url":"https://api.github.com/repos/taylorrf/rubybookshelf/languages","stargazers_url":"https://api.github.com/repos/taylorrf/rubybookshelf/stargazers","contributors_url":"https://api.github.com/repos/taylorrf/rubybookshelf/contributors","subscribers_url":"https://api.github.com/repos/taylorrf/rubybookshelf/subscribers","subscription_url":"https://api.github.com/repos/taylorrf/rubybookshelf/subscription","commits_url":"https://api.github.com/repos/taylorrf/rubybookshelf/commits{/sha}","git_commits_url":"https://api.github.com/repos/taylorrf/rubybookshelf/git/commits{/sha}","comments_url":"https://api.github.com/repos/taylorrf/rubybookshelf/comments{/number}","issue_comment_url":"https://api.github.com/repos/taylorrf/rubybookshelf/issues/comments{/number}","contents_url":"https://api.github.com/repos/taylorrf/rubybookshelf/contents/{+path}","compare_url":"https://api.github.com/repos/taylorrf/rubybookshelf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taylorrf/rubybookshelf/merges","archive_url":"https://api.github.com/repos/taylorrf/rubybookshelf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taylorrf/rubybookshelf/downloads","issues_url":"https://api.github.com/repos/taylorrf/rubybookshelf/issues{/number}","pulls_url":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls{/number}","milestones_url":"https://api.github.com/repos/taylorrf/rubybookshelf/milestones{/number}","notifications_url":"https://api.github.com/repos/taylorrf/rubybookshelf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taylorrf/rubybookshelf/labels{/name}","releases_url":"https://api.github.com/repos/taylorrf/rubybookshelf/releases{/id}","created_at":"2015-10-23T22:24:38Z","updated_at":"2015-11-06T07:28:23Z","pushed_at":"2015-11-15T13:18:59Z","git_url":"git://github.com/taylorrf/rubybookshelf.git","ssh_url":"git@github.com:taylorrf/rubybookshelf.git","clone_url":"https://github.com/taylorrf/rubybookshelf.git","svn_url":"https://github.com/taylorrf/rubybookshelf","homepage":"http://rubybookshelf.herokuapp.com/","size":465,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/27"},"html":{"href":"https://github.com/taylorrf/rubybookshelf/pull/27"},"issue":{"href":"https://api.github.com/repos/taylorrf/rubybookshelf/issues/27"},"comments":{"href":"https://api.github.com/repos/taylorrf/rubybookshelf/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taylorrf/rubybookshelf/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/taylorrf/rubybookshelf/statuses/ade8c76123ad38a43564ff441016b47aadf6e9c1"}}}}