{"action":"created","comment":{"url":"https://api.github.com/repos/doximity/orientation/pulls/comments/133844902","pull_request_review_id":57072917,"id":133844902,"diff_hunk":"@@ -1,20 +1,21 @@\n .row\n   .section\n \n-    %h1 #{ @authors.count } Authors\n+    = render layout: 'articles/search', locals: { alternative_content: true, hide_results: true } do","path":"app/views/authors/index.haml","position":5,"original_position":5,"commit_id":"0b55b737805c4a4077fb1ba7ab7b6861cd3f404e","original_commit_id":"0b55b737805c4a4077fb1ba7ab7b6861cd3f404e","user":{"login":"chriswoodrich","id":5343964,"avatar_url":"https://avatars3.githubusercontent.com/u/5343964?v=4","gravatar_id":"","url":"https://api.github.com/users/chriswoodrich","html_url":"https://github.com/chriswoodrich","followers_url":"https://api.github.com/users/chriswoodrich/followers","following_url":"https://api.github.com/users/chriswoodrich/following{/other_user}","gists_url":"https://api.github.com/users/chriswoodrich/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswoodrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswoodrich/subscriptions","organizations_url":"https://api.github.com/users/chriswoodrich/orgs","repos_url":"https://api.github.com/users/chriswoodrich/repos","events_url":"https://api.github.com/users/chriswoodrich/events{/privacy}","received_events_url":"https://api.github.com/users/chriswoodrich/received_events","type":"User","site_admin":false},"body":"part of the issue with this strategy is layouts are being used incorrectly.  layouts should render (and yield to) views, but not the other way around.\r\n\r\nIs it possible to move this into the application layout?","created_at":"2017-08-17T22:29:48Z","updated_at":"2017-08-17T22:29:56Z","html_url":"https://github.com/doximity/orientation/pull/87#discussion_r133844902","pull_request_url":"https://api.github.com/repos/doximity/orientation/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/doximity/orientation/pulls/comments/133844902"},"html":{"href":"https://github.com/doximity/orientation/pull/87#discussion_r133844902"},"pull_request":{"href":"https://api.github.com/repos/doximity/orientation/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/doximity/orientation/pulls/87","id":136135818,"html_url":"https://github.com/doximity/orientation/pull/87","diff_url":"https://github.com/doximity/orientation/pull/87.diff","patch_url":"https://github.com/doximity/orientation/pull/87.patch","issue_url":"https://api.github.com/repos/doximity/orientation/issues/87","number":87,"state":"open","locked":false,"title":"Search on all pages","user":{"login":"AndrewMcBurney","id":8942499,"avatar_url":"https://avatars3.githubusercontent.com/u/8942499?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewMcBurney","html_url":"https://github.com/AndrewMcBurney","followers_url":"https://api.github.com/users/AndrewMcBurney/followers","following_url":"https://api.github.com/users/AndrewMcBurney/following{/other_user}","gists_url":"https://api.github.com/users/AndrewMcBurney/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewMcBurney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewMcBurney/subscriptions","organizations_url":"https://api.github.com/users/AndrewMcBurney/orgs","repos_url":"https://api.github.com/users/AndrewMcBurney/repos","events_url":"https://api.github.com/users/AndrewMcBurney/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewMcBurney/received_events","type":"User","site_admin":false},"body":"### Links\r\n- Pivotal Tracker story: https://www.pivotaltracker.com/n/projects/2007435/stories/150299999\r\n- GitHub Issue: https://github.com/doximity/orientation/issues/57\r\n\r\n### Overview\r\n- Adds search functionality for articles on all views in the following controllers: `categories_controller`, `tag_controller`, `articles_controller`, and `authors_controller`.\r\n\r\n\r\n\r\n### Todo\r\n- [ ] Needs a bit of design love\r\n\r\n### Notes\r\n- Fixed a bunch of miscellaneous rubocop errors in the `articles_controller`, `categories_controller`, and `application_controller`.","created_at":"2017-08-16T22:23:47Z","updated_at":"2017-08-17T22:29:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13c4f8fa012eeb9185ab97dce61a1c07c8e38e16","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/doximity/orientation/pulls/87/commits","review_comments_url":"https://api.github.com/repos/doximity/orientation/pulls/87/comments","review_comment_url":"https://api.github.com/repos/doximity/orientation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/doximity/orientation/issues/87/comments","statuses_url":"https://api.github.com/repos/doximity/orientation/statuses/0b55b737805c4a4077fb1ba7ab7b6861cd3f404e","head":{"label":"AndrewMcBurney:search-on-all-pages","ref":"search-on-all-pages","sha":"0b55b737805c4a4077fb1ba7ab7b6861cd3f404e","user":{"login":"AndrewMcBurney","id":8942499,"avatar_url":"https://avatars3.githubusercontent.com/u/8942499?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewMcBurney","html_url":"https://github.com/AndrewMcBurney","followers_url":"https://api.github.com/users/AndrewMcBurney/followers","following_url":"https://api.github.com/users/AndrewMcBurney/following{/other_user}","gists_url":"https://api.github.com/users/AndrewMcBurney/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewMcBurney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewMcBurney/subscriptions","organizations_url":"https://api.github.com/users/AndrewMcBurney/orgs","repos_url":"https://api.github.com/users/AndrewMcBurney/repos","events_url":"https://api.github.com/users/AndrewMcBurney/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewMcBurney/received_events","type":"User","site_admin":false},"repo":{"id":90892984,"name":"orientation","full_name":"AndrewMcBurney/orientation","owner":{"login":"AndrewMcBurney","id":8942499,"avatar_url":"https://avatars3.githubusercontent.com/u/8942499?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewMcBurney","html_url":"https://github.com/AndrewMcBurney","followers_url":"https://api.github.com/users/AndrewMcBurney/followers","following_url":"https://api.github.com/users/AndrewMcBurney/following{/other_user}","gists_url":"https://api.github.com/users/AndrewMcBurney/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewMcBurney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewMcBurney/subscriptions","organizations_url":"https://api.github.com/users/AndrewMcBurney/orgs","repos_url":"https://api.github.com/users/AndrewMcBurney/repos","events_url":"https://api.github.com/users/AndrewMcBurney/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewMcBurney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndrewMcBurney/orientation","description":"Fight information rot.","fork":true,"url":"https://api.github.com/repos/AndrewMcBurney/orientation","forks_url":"https://api.github.com/repos/AndrewMcBurney/orientation/forks","keys_url":"https://api.github.com/repos/AndrewMcBurney/orientation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndrewMcBurney/orientation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndrewMcBurney/orientation/teams","hooks_url":"https://api.github.com/repos/AndrewMcBurney/orientation/hooks","issue_events_url":"https://api.github.com/repos/AndrewMcBurney/orientation/issues/events{/number}","events_url":"https://api.github.com/repos/AndrewMcBurney/orientation/events","assignees_url":"https://api.github.com/repos/AndrewMcBurney/orientation/assignees{/user}","branches_url":"https://api.github.com/repos/AndrewMcBurney/orientation/branches{/branch}","tags_url":"https://api.github.com/repos/AndrewMcBurney/orientation/tags","blobs_url":"https://api.github.com/repos/AndrewMcBurney/orientation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndrewMcBurney/orientation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndrewMcBurney/orientation/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndrewMcBurney/orientation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndrewMcBurney/orientation/statuses/{sha}","languages_url":"https://api.github.com/repos/AndrewMcBurney/orientation/languages","stargazers_url":"https://api.github.com/repos/AndrewMcBurney/orientation/stargazers","contributors_url":"https://api.github.com/repos/AndrewMcBurney/orientation/contributors","subscribers_url":"https://api.github.com/repos/AndrewMcBurney/orientation/subscribers","subscription_url":"https://api.github.com/repos/AndrewMcBurney/orientation/subscription","commits_url":"https://api.github.com/repos/AndrewMcBurney/orientation/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndrewMcBurney/orientation/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndrewMcBurney/orientation/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndrewMcBurney/orientation/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndrewMcBurney/orientation/contents/{+path}","compare_url":"https://api.github.com/repos/AndrewMcBurney/orientation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndrewMcBurney/orientation/merges","archive_url":"https://api.github.com/repos/AndrewMcBurney/orientation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndrewMcBurney/orientation/downloads","issues_url":"https://api.github.com/repos/AndrewMcBurney/orientation/issues{/number}","pulls_url":"https://api.github.com/repos/AndrewMcBurney/orientation/pulls{/number}","milestones_url":"https://api.github.com/repos/AndrewMcBurney/orientation/milestones{/number}","notifications_url":"https://api.github.com/repos/AndrewMcBurney/orientation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndrewMcBurney/orientation/labels{/name}","releases_url":"https://api.github.com/repos/AndrewMcBurney/orientation/releases{/id}","deployments_url":"https://api.github.com/repos/AndrewMcBurney/orientation/deployments","created_at":"2017-05-10T17:52:15Z","updated_at":"2017-05-10T17:52:17Z","pushed_at":"2017-08-17T18:33:42Z","git_url":"git://github.com/AndrewMcBurney/orientation.git","ssh_url":"git@github.com:AndrewMcBurney/orientation.git","clone_url":"https://github.com/AndrewMcBurney/orientation.git","svn_url":"https://github.com/AndrewMcBurney/orientation","homepage":"","size":10133,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"pseudo-master"}},"base":{"label":"doximity:pseudo-master","ref":"pseudo-master","sha":"7b69a6bceec4163e114237c0ff0fbf36be21ae0e","user":{"login":"doximity","id":181836,"avatar_url":"https://avatars2.githubusercontent.com/u/181836?v=4","gravatar_id":"","url":"https://api.github.com/users/doximity","html_url":"https://github.com/doximity","followers_url":"https://api.github.com/users/doximity/followers","following_url":"https://api.github.com/users/doximity/following{/other_user}","gists_url":"https://api.github.com/users/doximity/gists{/gist_id}","starred_url":"https://api.github.com/users/doximity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doximity/subscriptions","organizations_url":"https://api.github.com/users/doximity/orgs","repos_url":"https://api.github.com/users/doximity/repos","events_url":"https://api.github.com/users/doximity/events{/privacy}","received_events_url":"https://api.github.com/users/doximity/received_events","type":"Organization","site_admin":false},"repo":{"id":41781397,"name":"orientation","full_name":"doximity/orientation","owner":{"login":"doximity","id":181836,"avatar_url":"https://avatars2.githubusercontent.com/u/181836?v=4","gravatar_id":"","url":"https://api.github.com/users/doximity","html_url":"https://github.com/doximity","followers_url":"https://api.github.com/users/doximity/followers","following_url":"https://api.github.com/users/doximity/following{/other_user}","gists_url":"https://api.github.com/users/doximity/gists{/gist_id}","starred_url":"https://api.github.com/users/doximity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doximity/subscriptions","organizations_url":"https://api.github.com/users/doximity/orgs","repos_url":"https://api.github.com/users/doximity/repos","events_url":"https://api.github.com/users/doximity/events{/privacy}","received_events_url":"https://api.github.com/users/doximity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/doximity/orientation","description":"Fight information rot.","fork":true,"url":"https://api.github.com/repos/doximity/orientation","forks_url":"https://api.github.com/repos/doximity/orientation/forks","keys_url":"https://api.github.com/repos/doximity/orientation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doximity/orientation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doximity/orientation/teams","hooks_url":"https://api.github.com/repos/doximity/orientation/hooks","issue_events_url":"https://api.github.com/repos/doximity/orientation/issues/events{/number}","events_url":"https://api.github.com/repos/doximity/orientation/events","assignees_url":"https://api.github.com/repos/doximity/orientation/assignees{/user}","branches_url":"https://api.github.com/repos/doximity/orientation/branches{/branch}","tags_url":"https://api.github.com/repos/doximity/orientation/tags","blobs_url":"https://api.github.com/repos/doximity/orientation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doximity/orientation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doximity/orientation/git/refs{/sha}","trees_url":"https://api.github.com/repos/doximity/orientation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doximity/orientation/statuses/{sha}","languages_url":"https://api.github.com/repos/doximity/orientation/languages","stargazers_url":"https://api.github.com/repos/doximity/orientation/stargazers","contributors_url":"https://api.github.com/repos/doximity/orientation/contributors","subscribers_url":"https://api.github.com/repos/doximity/orientation/subscribers","subscription_url":"https://api.github.com/repos/doximity/orientation/subscription","commits_url":"https://api.github.com/repos/doximity/orientation/commits{/sha}","git_commits_url":"https://api.github.com/repos/doximity/orientation/git/commits{/sha}","comments_url":"https://api.github.com/repos/doximity/orientation/comments{/number}","issue_comment_url":"https://api.github.com/repos/doximity/orientation/issues/comments{/number}","contents_url":"https://api.github.com/repos/doximity/orientation/contents/{+path}","compare_url":"https://api.github.com/repos/doximity/orientation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doximity/orientation/merges","archive_url":"https://api.github.com/repos/doximity/orientation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doximity/orientation/downloads","issues_url":"https://api.github.com/repos/doximity/orientation/issues{/number}","pulls_url":"https://api.github.com/repos/doximity/orientation/pulls{/number}","milestones_url":"https://api.github.com/repos/doximity/orientation/milestones{/number}","notifications_url":"https://api.github.com/repos/doximity/orientation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doximity/orientation/labels{/name}","releases_url":"https://api.github.com/repos/doximity/orientation/releases{/id}","deployments_url":"https://api.github.com/repos/doximity/orientation/deployments","created_at":"2015-09-02T05:21:12Z","updated_at":"2017-06-28T22:07:25Z","pushed_at":"2017-08-17T18:33:44Z","git_url":"git://github.com/doximity/orientation.git","ssh_url":"git@github.com:doximity/orientation.git","clone_url":"https://github.com/doximity/orientation.git","svn_url":"https://github.com/doximity/orientation","homepage":"","size":10103,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":2,"default_branch":"pseudo-master"}},"_links":{"self":{"href":"https://api.github.com/repos/doximity/orientation/pulls/87"},"html":{"href":"https://github.com/doximity/orientation/pull/87"},"issue":{"href":"https://api.github.com/repos/doximity/orientation/issues/87"},"comments":{"href":"https://api.github.com/repos/doximity/orientation/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/doximity/orientation/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/doximity/orientation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/doximity/orientation/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/doximity/orientation/statuses/0b55b737805c4a4077fb1ba7ab7b6861cd3f404e"}}}}
{"actor":{"display_login":"chriswoodrich"}}