{"action":"created","comment":{"url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/comments/71785673","id":71785673,"diff_hunk":"@@ -1,23 +1,39 @@\n+require 'json'\n+\n class ApplicationController < ActionController::Base\n-  # Prevent CSRF attacks by raising an exception.\n-  # For APIs, you may want to use :null_session instead.\n   protect_from_forgery with: :exception\n \n-  def after_sign_in_path_for(resource)\n-    sign_in_url = url_for(:action => 'new', :controller => 'sessions', :only_path => false, :protocol => 'http')\n-    if request.referer == sign_in_url\n-      super\n-    else\n-      stored_location_for(resource) || request.referer || root_path\n-    end\n-  end\n+  helper_method :signed_in?\n+  helper_method :current_user\n \n+  def signed_in?\n+    !!current_user","path":"app/controllers/application_controller.rb","position":20,"original_position":20,"commit_id":"6cf006c11a9e2c943352954bf78fa710ea94bc4d","original_commit_id":"6cf006c11a9e2c943352954bf78fa710ea94bc4d","user":{"login":"jeneve","id":13407954,"avatar_url":"https://avatars.githubusercontent.com/u/13407954?v=3","gravatar_id":"","url":"https://api.github.com/users/jeneve","html_url":"https://github.com/jeneve","followers_url":"https://api.github.com/users/jeneve/followers","following_url":"https://api.github.com/users/jeneve/following{/other_user}","gists_url":"https://api.github.com/users/jeneve/gists{/gist_id}","starred_url":"https://api.github.com/users/jeneve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeneve/subscriptions","organizations_url":"https://api.github.com/users/jeneve/orgs","repos_url":"https://api.github.com/users/jeneve/repos","events_url":"https://api.github.com/users/jeneve/events{/privacy}","received_events_url":"https://api.github.com/users/jeneve/received_events","type":"User","site_admin":false},"body":"This is cool- I learned something new!","created_at":"2016-07-21T20:56:59Z","updated_at":"2016-07-21T20:56:59Z","html_url":"https://github.com/kristindiannefoss/snap_me_up/pull/1#discussion_r71785673","pull_request_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/comments/71785673"},"html":{"href":"https://github.com/kristindiannefoss/snap_me_up/pull/1#discussion_r71785673"},"pull_request":{"href":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/1","id":78376676,"html_url":"https://github.com/kristindiannefoss/snap_me_up/pull/1","diff_url":"https://github.com/kristindiannefoss/snap_me_up/pull/1.diff","patch_url":"https://github.com/kristindiannefoss/snap_me_up/pull/1.patch","issue_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/issues/1","number":1,"state":"open","locked":false,"title":"Use new omniauth gem","user":{"login":"kristindiannefoss","id":15794034,"avatar_url":"https://avatars.githubusercontent.com/u/15794034?v=3","gravatar_id":"","url":"https://api.github.com/users/kristindiannefoss","html_url":"https://github.com/kristindiannefoss","followers_url":"https://api.github.com/users/kristindiannefoss/followers","following_url":"https://api.github.com/users/kristindiannefoss/following{/other_user}","gists_url":"https://api.github.com/users/kristindiannefoss/gists{/gist_id}","starred_url":"https://api.github.com/users/kristindiannefoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristindiannefoss/subscriptions","organizations_url":"https://api.github.com/users/kristindiannefoss/orgs","repos_url":"https://api.github.com/users/kristindiannefoss/repos","events_url":"https://api.github.com/users/kristindiannefoss/events{/privacy}","received_events_url":"https://api.github.com/users/kristindiannefoss/received_events","type":"User","site_admin":false},"body":"-use new gem that is still local to my file system\r\n\r\n-remove devise and doorkeeper\r\n\r\n-remove extra files caused by \"rails scaffold\" (project is not built to learn more about rails, scaffolded to get something up fast, may pull from the json info backboone to make a node app or use react.  Still nailing down plans.","created_at":"2016-07-21T19:53:26Z","updated_at":"2016-07-21T20:56:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fd4e9dcdca37e6f56d6a44cbfe144d7667086d3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/issues/1/comments","statuses_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/statuses/6cf006c11a9e2c943352954bf78fa710ea94bc4d","head":{"label":"kristindiannefoss:use_new_omniauth_gem","ref":"use_new_omniauth_gem","sha":"6cf006c11a9e2c943352954bf78fa710ea94bc4d","user":{"login":"kristindiannefoss","id":15794034,"avatar_url":"https://avatars.githubusercontent.com/u/15794034?v=3","gravatar_id":"","url":"https://api.github.com/users/kristindiannefoss","html_url":"https://github.com/kristindiannefoss","followers_url":"https://api.github.com/users/kristindiannefoss/followers","following_url":"https://api.github.com/users/kristindiannefoss/following{/other_user}","gists_url":"https://api.github.com/users/kristindiannefoss/gists{/gist_id}","starred_url":"https://api.github.com/users/kristindiannefoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristindiannefoss/subscriptions","organizations_url":"https://api.github.com/users/kristindiannefoss/orgs","repos_url":"https://api.github.com/users/kristindiannefoss/repos","events_url":"https://api.github.com/users/kristindiannefoss/events{/privacy}","received_events_url":"https://api.github.com/users/kristindiannefoss/received_events","type":"User","site_admin":false},"repo":{"id":63204889,"name":"snap_me_up","full_name":"kristindiannefoss/snap_me_up","owner":{"login":"kristindiannefoss","id":15794034,"avatar_url":"https://avatars.githubusercontent.com/u/15794034?v=3","gravatar_id":"","url":"https://api.github.com/users/kristindiannefoss","html_url":"https://github.com/kristindiannefoss","followers_url":"https://api.github.com/users/kristindiannefoss/followers","following_url":"https://api.github.com/users/kristindiannefoss/following{/other_user}","gists_url":"https://api.github.com/users/kristindiannefoss/gists{/gist_id}","starred_url":"https://api.github.com/users/kristindiannefoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristindiannefoss/subscriptions","organizations_url":"https://api.github.com/users/kristindiannefoss/orgs","repos_url":"https://api.github.com/users/kristindiannefoss/repos","events_url":"https://api.github.com/users/kristindiannefoss/events{/privacy}","received_events_url":"https://api.github.com/users/kristindiannefoss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kristindiannefoss/snap_me_up","description":null,"fork":false,"url":"https://api.github.com/repos/kristindiannefoss/snap_me_up","forks_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/forks","keys_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/teams","hooks_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/hooks","issue_events_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/issues/events{/number}","events_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/events","assignees_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/assignees{/user}","branches_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/branches{/branch}","tags_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/tags","blobs_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/git/refs{/sha}","trees_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/statuses/{sha}","languages_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/languages","stargazers_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/stargazers","contributors_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/contributors","subscribers_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/subscribers","subscription_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/subscription","commits_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/commits{/sha}","git_commits_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/git/commits{/sha}","comments_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/comments{/number}","issue_comment_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/issues/comments{/number}","contents_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/contents/{+path}","compare_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/merges","archive_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/downloads","issues_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/issues{/number}","pulls_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls{/number}","milestones_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/milestones{/number}","notifications_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/labels{/name}","releases_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/releases{/id}","deployments_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/deployments","created_at":"2016-07-13T01:43:13Z","updated_at":"2016-07-20T21:27:19Z","pushed_at":"2016-07-21T20:08:50Z","git_url":"git://github.com/kristindiannefoss/snap_me_up.git","ssh_url":"git@github.com:kristindiannefoss/snap_me_up.git","clone_url":"https://github.com/kristindiannefoss/snap_me_up.git","svn_url":"https://github.com/kristindiannefoss/snap_me_up","homepage":null,"size":39,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kristindiannefoss:master","ref":"master","sha":"6155ae4634d073a76b094e4f46cf1790d420e6d8","user":{"login":"kristindiannefoss","id":15794034,"avatar_url":"https://avatars.githubusercontent.com/u/15794034?v=3","gravatar_id":"","url":"https://api.github.com/users/kristindiannefoss","html_url":"https://github.com/kristindiannefoss","followers_url":"https://api.github.com/users/kristindiannefoss/followers","following_url":"https://api.github.com/users/kristindiannefoss/following{/other_user}","gists_url":"https://api.github.com/users/kristindiannefoss/gists{/gist_id}","starred_url":"https://api.github.com/users/kristindiannefoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristindiannefoss/subscriptions","organizations_url":"https://api.github.com/users/kristindiannefoss/orgs","repos_url":"https://api.github.com/users/kristindiannefoss/repos","events_url":"https://api.github.com/users/kristindiannefoss/events{/privacy}","received_events_url":"https://api.github.com/users/kristindiannefoss/received_events","type":"User","site_admin":false},"repo":{"id":63204889,"name":"snap_me_up","full_name":"kristindiannefoss/snap_me_up","owner":{"login":"kristindiannefoss","id":15794034,"avatar_url":"https://avatars.githubusercontent.com/u/15794034?v=3","gravatar_id":"","url":"https://api.github.com/users/kristindiannefoss","html_url":"https://github.com/kristindiannefoss","followers_url":"https://api.github.com/users/kristindiannefoss/followers","following_url":"https://api.github.com/users/kristindiannefoss/following{/other_user}","gists_url":"https://api.github.com/users/kristindiannefoss/gists{/gist_id}","starred_url":"https://api.github.com/users/kristindiannefoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristindiannefoss/subscriptions","organizations_url":"https://api.github.com/users/kristindiannefoss/orgs","repos_url":"https://api.github.com/users/kristindiannefoss/repos","events_url":"https://api.github.com/users/kristindiannefoss/events{/privacy}","received_events_url":"https://api.github.com/users/kristindiannefoss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kristindiannefoss/snap_me_up","description":null,"fork":false,"url":"https://api.github.com/repos/kristindiannefoss/snap_me_up","forks_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/forks","keys_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/teams","hooks_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/hooks","issue_events_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/issues/events{/number}","events_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/events","assignees_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/assignees{/user}","branches_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/branches{/branch}","tags_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/tags","blobs_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/git/refs{/sha}","trees_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/statuses/{sha}","languages_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/languages","stargazers_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/stargazers","contributors_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/contributors","subscribers_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/subscribers","subscription_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/subscription","commits_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/commits{/sha}","git_commits_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/git/commits{/sha}","comments_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/comments{/number}","issue_comment_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/issues/comments{/number}","contents_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/contents/{+path}","compare_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/merges","archive_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/downloads","issues_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/issues{/number}","pulls_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls{/number}","milestones_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/milestones{/number}","notifications_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/labels{/name}","releases_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/releases{/id}","deployments_url":"https://api.github.com/repos/kristindiannefoss/snap_me_up/deployments","created_at":"2016-07-13T01:43:13Z","updated_at":"2016-07-20T21:27:19Z","pushed_at":"2016-07-21T20:08:50Z","git_url":"git://github.com/kristindiannefoss/snap_me_up.git","ssh_url":"git@github.com:kristindiannefoss/snap_me_up.git","clone_url":"https://github.com/kristindiannefoss/snap_me_up.git","svn_url":"https://github.com/kristindiannefoss/snap_me_up","homepage":null,"size":39,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/1"},"html":{"href":"https://github.com/kristindiannefoss/snap_me_up/pull/1"},"issue":{"href":"https://api.github.com/repos/kristindiannefoss/snap_me_up/issues/1"},"comments":{"href":"https://api.github.com/repos/kristindiannefoss/snap_me_up/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kristindiannefoss/snap_me_up/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kristindiannefoss/snap_me_up/statuses/6cf006c11a9e2c943352954bf78fa710ea94bc4d"}}}}
{"actor":{"display_login":"jeneve"}}