{"action":"created","comment":{"url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/comments/43574093","id":43574093,"diff_hunk":"@@ -1,6 +1,6 @@\n class SessionsController < LegalController\n-  skip_before_filter :require_login, only: [:create, :new, :destroy]\n-  skip_before_filter :authorize, only: [:create, :new, :destroy]\n+  skip_before_filter :require_login, only: [:create, :new, :destroy, :activate]\n+  skip_before_filter :authorize, only: [:create, :new, :destroy, :activate]","path":"app/controllers/sessions_controller.rb","position":5,"original_position":5,"commit_id":"ba9e15a18828f79a7773e0641e6c1bc74aa7f68b","original_commit_id":"ba9e15a18828f79a7773e0641e6c1bc74aa7f68b","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer `skip_before_action` over `skip_before_filter`.","created_at":"2015-10-31T17:37:37Z","updated_at":"2015-10-31T17:37:37Z","html_url":"https://github.com/OttawaU-RSSP/OttawaU-RSSP/pull/37#discussion_r43574093","pull_request_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/comments/43574093"},"html":{"href":"https://github.com/OttawaU-RSSP/OttawaU-RSSP/pull/37#discussion_r43574093"},"pull_request":{"href":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/37","id":49354554,"html_url":"https://github.com/OttawaU-RSSP/OttawaU-RSSP/pull/37","diff_url":"https://github.com/OttawaU-RSSP/OttawaU-RSSP/pull/37.diff","patch_url":"https://github.com/OttawaU-RSSP/OttawaU-RSSP/pull/37.patch","issue_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/issues/37","number":37,"state":"open","locked":false,"title":"Signup emails","user":{"login":"kwestein","id":3518990,"avatar_url":"https://avatars.githubusercontent.com/u/3518990?v=3","gravatar_id":"","url":"https://api.github.com/users/kwestein","html_url":"https://github.com/kwestein","followers_url":"https://api.github.com/users/kwestein/followers","following_url":"https://api.github.com/users/kwestein/following{/other_user}","gists_url":"https://api.github.com/users/kwestein/gists{/gist_id}","starred_url":"https://api.github.com/users/kwestein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwestein/subscriptions","organizations_url":"https://api.github.com/users/kwestein/orgs","repos_url":"https://api.github.com/users/kwestein/repos","events_url":"https://api.github.com/users/kwestein/events{/privacy}","received_events_url":"https://api.github.com/users/kwestein/received_events","type":"User","site_admin":false},"body":"@stephenminded would you mind taking a look at this when you have a chance? Wasn't really sure how to do this.. it works but I just want to make sure that it's secure/if there's a better way to do this.\r\n\r\nIt's the user activation flow.\r\n\r\nNo rush :ghost: ","created_at":"2015-10-31T17:37:32Z","updated_at":"2015-10-31T17:37:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/37/commits","review_comments_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/37/comments","review_comment_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/issues/37/comments","statuses_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/statuses/ba9e15a18828f79a7773e0641e6c1bc74aa7f68b","head":{"label":"OttawaU-RSSP:signup-emails","ref":"signup-emails","sha":"ba9e15a18828f79a7773e0641e6c1bc74aa7f68b","user":{"login":"OttawaU-RSSP","id":15145373,"avatar_url":"https://avatars.githubusercontent.com/u/15145373?v=3","gravatar_id":"","url":"https://api.github.com/users/OttawaU-RSSP","html_url":"https://github.com/OttawaU-RSSP","followers_url":"https://api.github.com/users/OttawaU-RSSP/followers","following_url":"https://api.github.com/users/OttawaU-RSSP/following{/other_user}","gists_url":"https://api.github.com/users/OttawaU-RSSP/gists{/gist_id}","starred_url":"https://api.github.com/users/OttawaU-RSSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OttawaU-RSSP/subscriptions","organizations_url":"https://api.github.com/users/OttawaU-RSSP/orgs","repos_url":"https://api.github.com/users/OttawaU-RSSP/repos","events_url":"https://api.github.com/users/OttawaU-RSSP/events{/privacy}","received_events_url":"https://api.github.com/users/OttawaU-RSSP/received_events","type":"Organization","site_admin":false},"repo":{"id":44281969,"name":"OttawaU-RSSP","full_name":"OttawaU-RSSP/OttawaU-RSSP","owner":{"login":"OttawaU-RSSP","id":15145373,"avatar_url":"https://avatars.githubusercontent.com/u/15145373?v=3","gravatar_id":"","url":"https://api.github.com/users/OttawaU-RSSP","html_url":"https://github.com/OttawaU-RSSP","followers_url":"https://api.github.com/users/OttawaU-RSSP/followers","following_url":"https://api.github.com/users/OttawaU-RSSP/following{/other_user}","gists_url":"https://api.github.com/users/OttawaU-RSSP/gists{/gist_id}","starred_url":"https://api.github.com/users/OttawaU-RSSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OttawaU-RSSP/subscriptions","organizations_url":"https://api.github.com/users/OttawaU-RSSP/orgs","repos_url":"https://api.github.com/users/OttawaU-RSSP/repos","events_url":"https://api.github.com/users/OttawaU-RSSP/events{/privacy}","received_events_url":"https://api.github.com/users/OttawaU-RSSP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OttawaU-RSSP/OttawaU-RSSP","description":"Refugee Sponsorship Support Program","fork":false,"url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP","forks_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/forks","keys_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/teams","hooks_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/hooks","issue_events_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/issues/events{/number}","events_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/events","assignees_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/assignees{/user}","branches_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/branches{/branch}","tags_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/tags","blobs_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/git/refs{/sha}","trees_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/statuses/{sha}","languages_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/languages","stargazers_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/stargazers","contributors_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/contributors","subscribers_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/subscribers","subscription_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/subscription","commits_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/commits{/sha}","git_commits_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/git/commits{/sha}","comments_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/comments{/number}","issue_comment_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/issues/comments{/number}","contents_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/contents/{+path}","compare_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/merges","archive_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/downloads","issues_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/issues{/number}","pulls_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls{/number}","milestones_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/milestones{/number}","notifications_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/labels{/name}","releases_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/releases{/id}","created_at":"2015-10-14T23:28:12Z","updated_at":"2015-10-15T16:46:42Z","pushed_at":"2015-10-31T17:37:32Z","git_url":"git://github.com/OttawaU-RSSP/OttawaU-RSSP.git","ssh_url":"git@github.com:OttawaU-RSSP/OttawaU-RSSP.git","clone_url":"https://github.com/OttawaU-RSSP/OttawaU-RSSP.git","svn_url":"https://github.com/OttawaU-RSSP/OttawaU-RSSP","homepage":null,"size":34012,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"OttawaU-RSSP:master","ref":"master","sha":"dc5b4d386098d0568f31c1816b2d997b881813cb","user":{"login":"OttawaU-RSSP","id":15145373,"avatar_url":"https://avatars.githubusercontent.com/u/15145373?v=3","gravatar_id":"","url":"https://api.github.com/users/OttawaU-RSSP","html_url":"https://github.com/OttawaU-RSSP","followers_url":"https://api.github.com/users/OttawaU-RSSP/followers","following_url":"https://api.github.com/users/OttawaU-RSSP/following{/other_user}","gists_url":"https://api.github.com/users/OttawaU-RSSP/gists{/gist_id}","starred_url":"https://api.github.com/users/OttawaU-RSSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OttawaU-RSSP/subscriptions","organizations_url":"https://api.github.com/users/OttawaU-RSSP/orgs","repos_url":"https://api.github.com/users/OttawaU-RSSP/repos","events_url":"https://api.github.com/users/OttawaU-RSSP/events{/privacy}","received_events_url":"https://api.github.com/users/OttawaU-RSSP/received_events","type":"Organization","site_admin":false},"repo":{"id":44281969,"name":"OttawaU-RSSP","full_name":"OttawaU-RSSP/OttawaU-RSSP","owner":{"login":"OttawaU-RSSP","id":15145373,"avatar_url":"https://avatars.githubusercontent.com/u/15145373?v=3","gravatar_id":"","url":"https://api.github.com/users/OttawaU-RSSP","html_url":"https://github.com/OttawaU-RSSP","followers_url":"https://api.github.com/users/OttawaU-RSSP/followers","following_url":"https://api.github.com/users/OttawaU-RSSP/following{/other_user}","gists_url":"https://api.github.com/users/OttawaU-RSSP/gists{/gist_id}","starred_url":"https://api.github.com/users/OttawaU-RSSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OttawaU-RSSP/subscriptions","organizations_url":"https://api.github.com/users/OttawaU-RSSP/orgs","repos_url":"https://api.github.com/users/OttawaU-RSSP/repos","events_url":"https://api.github.com/users/OttawaU-RSSP/events{/privacy}","received_events_url":"https://api.github.com/users/OttawaU-RSSP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OttawaU-RSSP/OttawaU-RSSP","description":"Refugee Sponsorship Support Program","fork":false,"url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP","forks_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/forks","keys_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/teams","hooks_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/hooks","issue_events_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/issues/events{/number}","events_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/events","assignees_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/assignees{/user}","branches_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/branches{/branch}","tags_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/tags","blobs_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/git/refs{/sha}","trees_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/statuses/{sha}","languages_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/languages","stargazers_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/stargazers","contributors_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/contributors","subscribers_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/subscribers","subscription_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/subscription","commits_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/commits{/sha}","git_commits_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/git/commits{/sha}","comments_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/comments{/number}","issue_comment_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/issues/comments{/number}","contents_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/contents/{+path}","compare_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/merges","archive_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/downloads","issues_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/issues{/number}","pulls_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls{/number}","milestones_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/milestones{/number}","notifications_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/labels{/name}","releases_url":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/releases{/id}","created_at":"2015-10-14T23:28:12Z","updated_at":"2015-10-15T16:46:42Z","pushed_at":"2015-10-31T17:37:32Z","git_url":"git://github.com/OttawaU-RSSP/OttawaU-RSSP.git","ssh_url":"git@github.com:OttawaU-RSSP/OttawaU-RSSP.git","clone_url":"https://github.com/OttawaU-RSSP/OttawaU-RSSP.git","svn_url":"https://github.com/OttawaU-RSSP/OttawaU-RSSP","homepage":null,"size":34012,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/37"},"html":{"href":"https://github.com/OttawaU-RSSP/OttawaU-RSSP/pull/37"},"issue":{"href":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/issues/37"},"comments":{"href":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/OttawaU-RSSP/OttawaU-RSSP/statuses/ba9e15a18828f79a7773e0641e6c1bc74aa7f68b"}}}}