{"action":"created","comment":{"url":"https://api.github.com/repos/Shkrt/flashcards/pulls/comments/45562817","id":45562817,"diff_hunk":"@@ -1,20 +1,20 @@\n Rails.application.routes.draw do\n-  get 'oauths/oauth'\n+  root to: 'dashboard/cards#index'\n \n-  get 'oauths/callback'\n+  scope module: 'home' do\n+    get 'login' => 'user_sessions#new', :as => :login\n+    get 'oauth/callback' => 'oauths#callback'\n+    post 'oauth/callback' => 'oauths#callback'","path":"config/routes.rb","position":9,"original_position":9,"commit_id":"fd0ed2bb7c7ca83f95b89ddcd3d86d706403e8f1","original_commit_id":"fd0ed2bb7c7ca83f95b89ddcd3d86d706403e8f1","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 double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-11-22T18:59:22Z","updated_at":"2015-11-22T18:59:22Z","html_url":"https://github.com/Shkrt/flashcards/pull/20#discussion_r45562817","pull_request_url":"https://api.github.com/repos/Shkrt/flashcards/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/Shkrt/flashcards/pulls/comments/45562817"},"html":{"href":"https://github.com/Shkrt/flashcards/pull/20#discussion_r45562817"},"pull_request":{"href":"https://api.github.com/repos/Shkrt/flashcards/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/Shkrt/flashcards/pulls/20","id":51471606,"html_url":"https://github.com/Shkrt/flashcards/pull/20","diff_url":"https://github.com/Shkrt/flashcards/pull/20.diff","patch_url":"https://github.com/Shkrt/flashcards/pull/20.patch","issue_url":"https://api.github.com/repos/Shkrt/flashcards/issues/20","number":20,"state":"open","locked":false,"title":"split into namespaces","user":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-22T18:59:14Z","updated_at":"2015-11-22T18:59:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d05501588e1c9865cb501c5b7491cc6a9596129b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shkrt/flashcards/pulls/20/commits","review_comments_url":"https://api.github.com/repos/Shkrt/flashcards/pulls/20/comments","review_comment_url":"https://api.github.com/repos/Shkrt/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shkrt/flashcards/issues/20/comments","statuses_url":"https://api.github.com/repos/Shkrt/flashcards/statuses/fd0ed2bb7c7ca83f95b89ddcd3d86d706403e8f1","head":{"label":"Shkrt:namespaces","ref":"namespaces","sha":"fd0ed2bb7c7ca83f95b89ddcd3d86d706403e8f1","user":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"repo":{"id":44377779,"name":"flashcards","full_name":"Shkrt/flashcards","owner":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shkrt/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/Shkrt/flashcards","forks_url":"https://api.github.com/repos/Shkrt/flashcards/forks","keys_url":"https://api.github.com/repos/Shkrt/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shkrt/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shkrt/flashcards/teams","hooks_url":"https://api.github.com/repos/Shkrt/flashcards/hooks","issue_events_url":"https://api.github.com/repos/Shkrt/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Shkrt/flashcards/events","assignees_url":"https://api.github.com/repos/Shkrt/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Shkrt/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Shkrt/flashcards/tags","blobs_url":"https://api.github.com/repos/Shkrt/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shkrt/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shkrt/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shkrt/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shkrt/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Shkrt/flashcards/languages","stargazers_url":"https://api.github.com/repos/Shkrt/flashcards/stargazers","contributors_url":"https://api.github.com/repos/Shkrt/flashcards/contributors","subscribers_url":"https://api.github.com/repos/Shkrt/flashcards/subscribers","subscription_url":"https://api.github.com/repos/Shkrt/flashcards/subscription","commits_url":"https://api.github.com/repos/Shkrt/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shkrt/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shkrt/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shkrt/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shkrt/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Shkrt/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shkrt/flashcards/merges","archive_url":"https://api.github.com/repos/Shkrt/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shkrt/flashcards/downloads","issues_url":"https://api.github.com/repos/Shkrt/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Shkrt/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Shkrt/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Shkrt/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shkrt/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Shkrt/flashcards/releases{/id}","created_at":"2015-10-16T10:13:22Z","updated_at":"2015-10-16T16:14:42Z","pushed_at":"2015-11-22T18:59:14Z","git_url":"git://github.com/Shkrt/flashcards.git","ssh_url":"git@github.com:Shkrt/flashcards.git","clone_url":"https://github.com/Shkrt/flashcards.git","svn_url":"https://github.com/Shkrt/flashcards","homepage":null,"size":223,"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":"Shkrt:master","ref":"master","sha":"48aff6f0e05ca5794f4ba7d19b47f84cfb1a6a42","user":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"repo":{"id":44377779,"name":"flashcards","full_name":"Shkrt/flashcards","owner":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shkrt/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/Shkrt/flashcards","forks_url":"https://api.github.com/repos/Shkrt/flashcards/forks","keys_url":"https://api.github.com/repos/Shkrt/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shkrt/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shkrt/flashcards/teams","hooks_url":"https://api.github.com/repos/Shkrt/flashcards/hooks","issue_events_url":"https://api.github.com/repos/Shkrt/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Shkrt/flashcards/events","assignees_url":"https://api.github.com/repos/Shkrt/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Shkrt/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Shkrt/flashcards/tags","blobs_url":"https://api.github.com/repos/Shkrt/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shkrt/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shkrt/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shkrt/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shkrt/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Shkrt/flashcards/languages","stargazers_url":"https://api.github.com/repos/Shkrt/flashcards/stargazers","contributors_url":"https://api.github.com/repos/Shkrt/flashcards/contributors","subscribers_url":"https://api.github.com/repos/Shkrt/flashcards/subscribers","subscription_url":"https://api.github.com/repos/Shkrt/flashcards/subscription","commits_url":"https://api.github.com/repos/Shkrt/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shkrt/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shkrt/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shkrt/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shkrt/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Shkrt/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shkrt/flashcards/merges","archive_url":"https://api.github.com/repos/Shkrt/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shkrt/flashcards/downloads","issues_url":"https://api.github.com/repos/Shkrt/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Shkrt/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Shkrt/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Shkrt/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shkrt/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Shkrt/flashcards/releases{/id}","created_at":"2015-10-16T10:13:22Z","updated_at":"2015-10-16T16:14:42Z","pushed_at":"2015-11-22T18:59:14Z","git_url":"git://github.com/Shkrt/flashcards.git","ssh_url":"git@github.com:Shkrt/flashcards.git","clone_url":"https://github.com/Shkrt/flashcards.git","svn_url":"https://github.com/Shkrt/flashcards","homepage":null,"size":223,"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/Shkrt/flashcards/pulls/20"},"html":{"href":"https://github.com/Shkrt/flashcards/pull/20"},"issue":{"href":"https://api.github.com/repos/Shkrt/flashcards/issues/20"},"comments":{"href":"https://api.github.com/repos/Shkrt/flashcards/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/Shkrt/flashcards/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/Shkrt/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shkrt/flashcards/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/Shkrt/flashcards/statuses/fd0ed2bb7c7ca83f95b89ddcd3d86d706403e8f1"}}}}