{"action":"created","comment":{"url":"https://api.github.com/repos/reebok159/BookStore2/pulls/comments/166968618","pull_request_review_id":95104453,"id":166968618,"diff_hunk":"@@ -0,0 +1,17 @@\n+class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController\n+  def facebook\n+    @user = User.from_omniauth(request.env[\"omniauth.auth\"])\n+\n+    if @user.persisted?\n+      sign_in_and_redirect @user, :event => :authentication","path":"app/controllers/users/omniauth_callbacks_controller.rb","position":6,"original_position":6,"commit_id":"f21f65760d681edc9bbca149ca9d4ed8af8ca6f3","original_commit_id":"f21f65760d681edc9bbca149ca9d4ed8af8ca6f3","user":{"login":"Dzemlianoi","id":17042245,"avatar_url":"https://avatars2.githubusercontent.com/u/17042245?v=4","gravatar_id":"","url":"https://api.github.com/users/Dzemlianoi","html_url":"https://github.com/Dzemlianoi","followers_url":"https://api.github.com/users/Dzemlianoi/followers","following_url":"https://api.github.com/users/Dzemlianoi/following{/other_user}","gists_url":"https://api.github.com/users/Dzemlianoi/gists{/gist_id}","starred_url":"https://api.github.com/users/Dzemlianoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dzemlianoi/subscriptions","organizations_url":"https://api.github.com/users/Dzemlianoi/orgs","repos_url":"https://api.github.com/users/Dzemlianoi/repos","events_url":"https://api.github.com/users/Dzemlianoi/events{/privacy}","received_events_url":"https://api.github.com/users/Dzemlianoi/received_events","type":"User","site_admin":false},"body":"dont use hash-rocket syntax","created_at":"2018-02-08T15:25:55Z","updated_at":"2018-02-08T15:51:46Z","html_url":"https://github.com/reebok159/BookStore2/pull/1#discussion_r166968618","pull_request_url":"https://api.github.com/repos/reebok159/BookStore2/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/reebok159/BookStore2/pulls/comments/166968618"},"html":{"href":"https://github.com/reebok159/BookStore2/pull/1#discussion_r166968618"},"pull_request":{"href":"https://api.github.com/repos/reebok159/BookStore2/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/reebok159/BookStore2/pulls/1","id":164246746,"html_url":"https://github.com/reebok159/BookStore2/pull/1","diff_url":"https://github.com/reebok159/BookStore2/pull/1.diff","patch_url":"https://github.com/reebok159/BookStore2/pull/1.patch","issue_url":"https://api.github.com/repos/reebok159/BookStore2/issues/1","number":1,"state":"open","locked":false,"title":"Dev","user":{"login":"reebok159","id":5842973,"avatar_url":"https://avatars3.githubusercontent.com/u/5842973?v=4","gravatar_id":"","url":"https://api.github.com/users/reebok159","html_url":"https://github.com/reebok159","followers_url":"https://api.github.com/users/reebok159/followers","following_url":"https://api.github.com/users/reebok159/following{/other_user}","gists_url":"https://api.github.com/users/reebok159/gists{/gist_id}","starred_url":"https://api.github.com/users/reebok159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reebok159/subscriptions","organizations_url":"https://api.github.com/users/reebok159/orgs","repos_url":"https://api.github.com/users/reebok159/repos","events_url":"https://api.github.com/users/reebok159/events{/privacy}","received_events_url":"https://api.github.com/users/reebok159/received_events","type":"User","site_admin":false},"body":"http://egnbookstore.herokuapp.com\r\nAdmin:\r\nadmin@loc.loc\r\n123456q\r\nCoupon:\r\nzzafg-8","created_at":"2018-01-22T08:25:46Z","updated_at":"2018-02-08T15:51:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c21a0f9b1f2b3e69a54e07e401e64cf606694130","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/reebok159/BookStore2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/reebok159/BookStore2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/reebok159/BookStore2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reebok159/BookStore2/issues/1/comments","statuses_url":"https://api.github.com/repos/reebok159/BookStore2/statuses/f21f65760d681edc9bbca149ca9d4ed8af8ca6f3","head":{"label":"reebok159:dev","ref":"dev","sha":"f21f65760d681edc9bbca149ca9d4ed8af8ca6f3","user":{"login":"reebok159","id":5842973,"avatar_url":"https://avatars3.githubusercontent.com/u/5842973?v=4","gravatar_id":"","url":"https://api.github.com/users/reebok159","html_url":"https://github.com/reebok159","followers_url":"https://api.github.com/users/reebok159/followers","following_url":"https://api.github.com/users/reebok159/following{/other_user}","gists_url":"https://api.github.com/users/reebok159/gists{/gist_id}","starred_url":"https://api.github.com/users/reebok159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reebok159/subscriptions","organizations_url":"https://api.github.com/users/reebok159/orgs","repos_url":"https://api.github.com/users/reebok159/repos","events_url":"https://api.github.com/users/reebok159/events{/privacy}","received_events_url":"https://api.github.com/users/reebok159/received_events","type":"User","site_admin":false},"repo":{"id":118427592,"name":"BookStore2","full_name":"reebok159/BookStore2","owner":{"login":"reebok159","id":5842973,"avatar_url":"https://avatars3.githubusercontent.com/u/5842973?v=4","gravatar_id":"","url":"https://api.github.com/users/reebok159","html_url":"https://github.com/reebok159","followers_url":"https://api.github.com/users/reebok159/followers","following_url":"https://api.github.com/users/reebok159/following{/other_user}","gists_url":"https://api.github.com/users/reebok159/gists{/gist_id}","starred_url":"https://api.github.com/users/reebok159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reebok159/subscriptions","organizations_url":"https://api.github.com/users/reebok159/orgs","repos_url":"https://api.github.com/users/reebok159/repos","events_url":"https://api.github.com/users/reebok159/events{/privacy}","received_events_url":"https://api.github.com/users/reebok159/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reebok159/BookStore2","description":null,"fork":false,"url":"https://api.github.com/repos/reebok159/BookStore2","forks_url":"https://api.github.com/repos/reebok159/BookStore2/forks","keys_url":"https://api.github.com/repos/reebok159/BookStore2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reebok159/BookStore2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reebok159/BookStore2/teams","hooks_url":"https://api.github.com/repos/reebok159/BookStore2/hooks","issue_events_url":"https://api.github.com/repos/reebok159/BookStore2/issues/events{/number}","events_url":"https://api.github.com/repos/reebok159/BookStore2/events","assignees_url":"https://api.github.com/repos/reebok159/BookStore2/assignees{/user}","branches_url":"https://api.github.com/repos/reebok159/BookStore2/branches{/branch}","tags_url":"https://api.github.com/repos/reebok159/BookStore2/tags","blobs_url":"https://api.github.com/repos/reebok159/BookStore2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reebok159/BookStore2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reebok159/BookStore2/git/refs{/sha}","trees_url":"https://api.github.com/repos/reebok159/BookStore2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reebok159/BookStore2/statuses/{sha}","languages_url":"https://api.github.com/repos/reebok159/BookStore2/languages","stargazers_url":"https://api.github.com/repos/reebok159/BookStore2/stargazers","contributors_url":"https://api.github.com/repos/reebok159/BookStore2/contributors","subscribers_url":"https://api.github.com/repos/reebok159/BookStore2/subscribers","subscription_url":"https://api.github.com/repos/reebok159/BookStore2/subscription","commits_url":"https://api.github.com/repos/reebok159/BookStore2/commits{/sha}","git_commits_url":"https://api.github.com/repos/reebok159/BookStore2/git/commits{/sha}","comments_url":"https://api.github.com/repos/reebok159/BookStore2/comments{/number}","issue_comment_url":"https://api.github.com/repos/reebok159/BookStore2/issues/comments{/number}","contents_url":"https://api.github.com/repos/reebok159/BookStore2/contents/{+path}","compare_url":"https://api.github.com/repos/reebok159/BookStore2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reebok159/BookStore2/merges","archive_url":"https://api.github.com/repos/reebok159/BookStore2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reebok159/BookStore2/downloads","issues_url":"https://api.github.com/repos/reebok159/BookStore2/issues{/number}","pulls_url":"https://api.github.com/repos/reebok159/BookStore2/pulls{/number}","milestones_url":"https://api.github.com/repos/reebok159/BookStore2/milestones{/number}","notifications_url":"https://api.github.com/repos/reebok159/BookStore2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reebok159/BookStore2/labels{/name}","releases_url":"https://api.github.com/repos/reebok159/BookStore2/releases{/id}","deployments_url":"https://api.github.com/repos/reebok159/BookStore2/deployments","created_at":"2018-01-22T08:22:46Z","updated_at":"2018-01-22T08:24:19Z","pushed_at":"2018-02-08T14:02:35Z","git_url":"git://github.com/reebok159/BookStore2.git","ssh_url":"git@github.com:reebok159/BookStore2.git","clone_url":"https://github.com/reebok159/BookStore2.git","svn_url":"https://github.com/reebok159/BookStore2","homepage":null,"size":1810,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"reebok159:master","ref":"master","sha":"aaf3785fccab114940c9d816d871c2fb5472c49f","user":{"login":"reebok159","id":5842973,"avatar_url":"https://avatars3.githubusercontent.com/u/5842973?v=4","gravatar_id":"","url":"https://api.github.com/users/reebok159","html_url":"https://github.com/reebok159","followers_url":"https://api.github.com/users/reebok159/followers","following_url":"https://api.github.com/users/reebok159/following{/other_user}","gists_url":"https://api.github.com/users/reebok159/gists{/gist_id}","starred_url":"https://api.github.com/users/reebok159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reebok159/subscriptions","organizations_url":"https://api.github.com/users/reebok159/orgs","repos_url":"https://api.github.com/users/reebok159/repos","events_url":"https://api.github.com/users/reebok159/events{/privacy}","received_events_url":"https://api.github.com/users/reebok159/received_events","type":"User","site_admin":false},"repo":{"id":118427592,"name":"BookStore2","full_name":"reebok159/BookStore2","owner":{"login":"reebok159","id":5842973,"avatar_url":"https://avatars3.githubusercontent.com/u/5842973?v=4","gravatar_id":"","url":"https://api.github.com/users/reebok159","html_url":"https://github.com/reebok159","followers_url":"https://api.github.com/users/reebok159/followers","following_url":"https://api.github.com/users/reebok159/following{/other_user}","gists_url":"https://api.github.com/users/reebok159/gists{/gist_id}","starred_url":"https://api.github.com/users/reebok159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reebok159/subscriptions","organizations_url":"https://api.github.com/users/reebok159/orgs","repos_url":"https://api.github.com/users/reebok159/repos","events_url":"https://api.github.com/users/reebok159/events{/privacy}","received_events_url":"https://api.github.com/users/reebok159/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reebok159/BookStore2","description":null,"fork":false,"url":"https://api.github.com/repos/reebok159/BookStore2","forks_url":"https://api.github.com/repos/reebok159/BookStore2/forks","keys_url":"https://api.github.com/repos/reebok159/BookStore2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reebok159/BookStore2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reebok159/BookStore2/teams","hooks_url":"https://api.github.com/repos/reebok159/BookStore2/hooks","issue_events_url":"https://api.github.com/repos/reebok159/BookStore2/issues/events{/number}","events_url":"https://api.github.com/repos/reebok159/BookStore2/events","assignees_url":"https://api.github.com/repos/reebok159/BookStore2/assignees{/user}","branches_url":"https://api.github.com/repos/reebok159/BookStore2/branches{/branch}","tags_url":"https://api.github.com/repos/reebok159/BookStore2/tags","blobs_url":"https://api.github.com/repos/reebok159/BookStore2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reebok159/BookStore2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reebok159/BookStore2/git/refs{/sha}","trees_url":"https://api.github.com/repos/reebok159/BookStore2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reebok159/BookStore2/statuses/{sha}","languages_url":"https://api.github.com/repos/reebok159/BookStore2/languages","stargazers_url":"https://api.github.com/repos/reebok159/BookStore2/stargazers","contributors_url":"https://api.github.com/repos/reebok159/BookStore2/contributors","subscribers_url":"https://api.github.com/repos/reebok159/BookStore2/subscribers","subscription_url":"https://api.github.com/repos/reebok159/BookStore2/subscription","commits_url":"https://api.github.com/repos/reebok159/BookStore2/commits{/sha}","git_commits_url":"https://api.github.com/repos/reebok159/BookStore2/git/commits{/sha}","comments_url":"https://api.github.com/repos/reebok159/BookStore2/comments{/number}","issue_comment_url":"https://api.github.com/repos/reebok159/BookStore2/issues/comments{/number}","contents_url":"https://api.github.com/repos/reebok159/BookStore2/contents/{+path}","compare_url":"https://api.github.com/repos/reebok159/BookStore2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reebok159/BookStore2/merges","archive_url":"https://api.github.com/repos/reebok159/BookStore2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reebok159/BookStore2/downloads","issues_url":"https://api.github.com/repos/reebok159/BookStore2/issues{/number}","pulls_url":"https://api.github.com/repos/reebok159/BookStore2/pulls{/number}","milestones_url":"https://api.github.com/repos/reebok159/BookStore2/milestones{/number}","notifications_url":"https://api.github.com/repos/reebok159/BookStore2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reebok159/BookStore2/labels{/name}","releases_url":"https://api.github.com/repos/reebok159/BookStore2/releases{/id}","deployments_url":"https://api.github.com/repos/reebok159/BookStore2/deployments","created_at":"2018-01-22T08:22:46Z","updated_at":"2018-01-22T08:24:19Z","pushed_at":"2018-02-08T14:02:35Z","git_url":"git://github.com/reebok159/BookStore2.git","ssh_url":"git@github.com:reebok159/BookStore2.git","clone_url":"https://github.com/reebok159/BookStore2.git","svn_url":"https://github.com/reebok159/BookStore2","homepage":null,"size":1810,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reebok159/BookStore2/pulls/1"},"html":{"href":"https://github.com/reebok159/BookStore2/pull/1"},"issue":{"href":"https://api.github.com/repos/reebok159/BookStore2/issues/1"},"comments":{"href":"https://api.github.com/repos/reebok159/BookStore2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/reebok159/BookStore2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/reebok159/BookStore2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reebok159/BookStore2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/reebok159/BookStore2/statuses/f21f65760d681edc9bbca149ca9d4ed8af8ca6f3"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Dzemlianoi"}}