{"action":"created","comment":{"url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/comments/189424791","pull_request_review_id":121608902,"id":189424791,"diff_hunk":"@@ -2,6 +2,8 @@\n \n # Controller for serving organization GeoJSON and side-bar HTML content\n class OrganizationsController < ApplicationController\n+  skip_before_action :require_login, only: [:index, :show]","path":"app/controllers/organizations_controller.rb","position":4,"original_position":4,"commit_id":"d958b73855da637297a3d3c6fd4f0803697bf1fc","original_commit_id":"d958b73855da637297a3d3c6fd4f0803697bf1fc","user":{"login":"codeclimate[bot]","id":36754821,"avatar_url":"https://avatars0.githubusercontent.com/in/9403?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate%5Bbot%5D","html_url":"https://github.com/apps/codeclimate","followers_url":"https://api.github.com/users/codeclimate%5Bbot%5D/followers","following_url":"https://api.github.com/users/codeclimate%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codeclimate%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codeclimate%5Bbot%5D/repos","events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Use `%i` or `%I` for an array of symbols.","created_at":"2018-05-19T04:35:42Z","updated_at":"2018-05-19T04:35:42Z","html_url":"https://github.com/my-brothers-keeper/my-brothers-keeper/pull/26#discussion_r189424791","pull_request_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/26","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/comments/189424791"},"html":{"href":"https://github.com/my-brothers-keeper/my-brothers-keeper/pull/26#discussion_r189424791"},"pull_request":{"href":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/26","id":189170459,"html_url":"https://github.com/my-brothers-keeper/my-brothers-keeper/pull/26","diff_url":"https://github.com/my-brothers-keeper/my-brothers-keeper/pull/26.diff","patch_url":"https://github.com/my-brothers-keeper/my-brothers-keeper/pull/26.patch","issue_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/issues/26","number":26,"state":"open","locked":false,"title":"Authentication","user":{"login":"mflamb","id":35739762,"avatar_url":"https://avatars2.githubusercontent.com/u/35739762?v=4","gravatar_id":"","url":"https://api.github.com/users/mflamb","html_url":"https://github.com/mflamb","followers_url":"https://api.github.com/users/mflamb/followers","following_url":"https://api.github.com/users/mflamb/following{/other_user}","gists_url":"https://api.github.com/users/mflamb/gists{/gist_id}","starred_url":"https://api.github.com/users/mflamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mflamb/subscriptions","organizations_url":"https://api.github.com/users/mflamb/orgs","repos_url":"https://api.github.com/users/mflamb/repos","events_url":"https://api.github.com/users/mflamb/events{/privacy}","received_events_url":"https://api.github.com/users/mflamb/received_events","type":"User","site_admin":false},"body":"This prevents Users from going to other Orgs' pages while exempting all the functionality that doesn't depend on login.  The only thing that might be objectionable is my adding .downcase to the username when it's saved as a param.  That may or may not be desirable for saving usernames in the DB, whatever you guys think I'll roll with it. \r\n\r\nOther than that, I think this should close #16 ","created_at":"2018-05-19T04:35:23Z","updated_at":"2018-05-19T04:35:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6de9d8b8528f2636447ca9eb2c1144cb4445aa4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/26/commits","review_comments_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/26/comments","review_comment_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/issues/26/comments","statuses_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/statuses/d958b73855da637297a3d3c6fd4f0803697bf1fc","head":{"label":"my-brothers-keeper:authentication","ref":"authentication","sha":"d958b73855da637297a3d3c6fd4f0803697bf1fc","user":{"login":"my-brothers-keeper","id":38818633,"avatar_url":"https://avatars3.githubusercontent.com/u/38818633?v=4","gravatar_id":"","url":"https://api.github.com/users/my-brothers-keeper","html_url":"https://github.com/my-brothers-keeper","followers_url":"https://api.github.com/users/my-brothers-keeper/followers","following_url":"https://api.github.com/users/my-brothers-keeper/following{/other_user}","gists_url":"https://api.github.com/users/my-brothers-keeper/gists{/gist_id}","starred_url":"https://api.github.com/users/my-brothers-keeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/my-brothers-keeper/subscriptions","organizations_url":"https://api.github.com/users/my-brothers-keeper/orgs","repos_url":"https://api.github.com/users/my-brothers-keeper/repos","events_url":"https://api.github.com/users/my-brothers-keeper/events{/privacy}","received_events_url":"https://api.github.com/users/my-brothers-keeper/received_events","type":"Organization","site_admin":false},"repo":{"id":131430452,"name":"my-brothers-keeper","full_name":"my-brothers-keeper/my-brothers-keeper","owner":{"login":"my-brothers-keeper","id":38818633,"avatar_url":"https://avatars3.githubusercontent.com/u/38818633?v=4","gravatar_id":"","url":"https://api.github.com/users/my-brothers-keeper","html_url":"https://github.com/my-brothers-keeper","followers_url":"https://api.github.com/users/my-brothers-keeper/followers","following_url":"https://api.github.com/users/my-brothers-keeper/following{/other_user}","gists_url":"https://api.github.com/users/my-brothers-keeper/gists{/gist_id}","starred_url":"https://api.github.com/users/my-brothers-keeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/my-brothers-keeper/subscriptions","organizations_url":"https://api.github.com/users/my-brothers-keeper/orgs","repos_url":"https://api.github.com/users/my-brothers-keeper/repos","events_url":"https://api.github.com/users/my-brothers-keeper/events{/privacy}","received_events_url":"https://api.github.com/users/my-brothers-keeper/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/my-brothers-keeper/my-brothers-keeper","description":null,"fork":false,"url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper","forks_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/forks","keys_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/teams","hooks_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/hooks","issue_events_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/issues/events{/number}","events_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/events","assignees_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/assignees{/user}","branches_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/branches{/branch}","tags_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/tags","blobs_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/git/refs{/sha}","trees_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/statuses/{sha}","languages_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/languages","stargazers_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/stargazers","contributors_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/contributors","subscribers_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/subscribers","subscription_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/subscription","commits_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/commits{/sha}","git_commits_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/git/commits{/sha}","comments_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/comments{/number}","issue_comment_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/issues/comments{/number}","contents_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/contents/{+path}","compare_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/merges","archive_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/downloads","issues_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/issues{/number}","pulls_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls{/number}","milestones_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/milestones{/number}","notifications_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/labels{/name}","releases_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/releases{/id}","deployments_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/deployments","created_at":"2018-04-28T17:32:39Z","updated_at":"2018-05-18T02:08:37Z","pushed_at":"2018-05-19T04:35:24Z","git_url":"git://github.com/my-brothers-keeper/my-brothers-keeper.git","ssh_url":"git@github.com:my-brothers-keeper/my-brothers-keeper.git","clone_url":"https://github.com/my-brothers-keeper/my-brothers-keeper.git","svn_url":"https://github.com/my-brothers-keeper/my-brothers-keeper","homepage":null,"size":111,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"my-brothers-keeper:master","ref":"master","sha":"4887adc3b175690f33678c8214f0a01212449c91","user":{"login":"my-brothers-keeper","id":38818633,"avatar_url":"https://avatars3.githubusercontent.com/u/38818633?v=4","gravatar_id":"","url":"https://api.github.com/users/my-brothers-keeper","html_url":"https://github.com/my-brothers-keeper","followers_url":"https://api.github.com/users/my-brothers-keeper/followers","following_url":"https://api.github.com/users/my-brothers-keeper/following{/other_user}","gists_url":"https://api.github.com/users/my-brothers-keeper/gists{/gist_id}","starred_url":"https://api.github.com/users/my-brothers-keeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/my-brothers-keeper/subscriptions","organizations_url":"https://api.github.com/users/my-brothers-keeper/orgs","repos_url":"https://api.github.com/users/my-brothers-keeper/repos","events_url":"https://api.github.com/users/my-brothers-keeper/events{/privacy}","received_events_url":"https://api.github.com/users/my-brothers-keeper/received_events","type":"Organization","site_admin":false},"repo":{"id":131430452,"name":"my-brothers-keeper","full_name":"my-brothers-keeper/my-brothers-keeper","owner":{"login":"my-brothers-keeper","id":38818633,"avatar_url":"https://avatars3.githubusercontent.com/u/38818633?v=4","gravatar_id":"","url":"https://api.github.com/users/my-brothers-keeper","html_url":"https://github.com/my-brothers-keeper","followers_url":"https://api.github.com/users/my-brothers-keeper/followers","following_url":"https://api.github.com/users/my-brothers-keeper/following{/other_user}","gists_url":"https://api.github.com/users/my-brothers-keeper/gists{/gist_id}","starred_url":"https://api.github.com/users/my-brothers-keeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/my-brothers-keeper/subscriptions","organizations_url":"https://api.github.com/users/my-brothers-keeper/orgs","repos_url":"https://api.github.com/users/my-brothers-keeper/repos","events_url":"https://api.github.com/users/my-brothers-keeper/events{/privacy}","received_events_url":"https://api.github.com/users/my-brothers-keeper/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/my-brothers-keeper/my-brothers-keeper","description":null,"fork":false,"url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper","forks_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/forks","keys_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/teams","hooks_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/hooks","issue_events_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/issues/events{/number}","events_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/events","assignees_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/assignees{/user}","branches_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/branches{/branch}","tags_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/tags","blobs_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/git/refs{/sha}","trees_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/statuses/{sha}","languages_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/languages","stargazers_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/stargazers","contributors_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/contributors","subscribers_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/subscribers","subscription_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/subscription","commits_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/commits{/sha}","git_commits_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/git/commits{/sha}","comments_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/comments{/number}","issue_comment_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/issues/comments{/number}","contents_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/contents/{+path}","compare_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/merges","archive_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/downloads","issues_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/issues{/number}","pulls_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls{/number}","milestones_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/milestones{/number}","notifications_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/labels{/name}","releases_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/releases{/id}","deployments_url":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/deployments","created_at":"2018-04-28T17:32:39Z","updated_at":"2018-05-18T02:08:37Z","pushed_at":"2018-05-19T04:35:24Z","git_url":"git://github.com/my-brothers-keeper/my-brothers-keeper.git","ssh_url":"git@github.com:my-brothers-keeper/my-brothers-keeper.git","clone_url":"https://github.com/my-brothers-keeper/my-brothers-keeper.git","svn_url":"https://github.com/my-brothers-keeper/my-brothers-keeper","homepage":null,"size":111,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/26"},"html":{"href":"https://github.com/my-brothers-keeper/my-brothers-keeper/pull/26"},"issue":{"href":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/issues/26"},"comments":{"href":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/my-brothers-keeper/my-brothers-keeper/statuses/d958b73855da637297a3d3c6fd4f0803697bf1fc"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codeclimate"}}