{"action":"created","comment":{"url":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/comments/26775561","id":26775561,"diff_hunk":"@@ -1,9 +1,13 @@\n Rails.application.routes.draw do\n+  resources :users\n   resources :cards\n+  resources :user_sessions\n   root 'home#index'\n   get 'home/index'\n+  get 'home/auth'\n   put \"review_card\" => \"home#review_card\"\n-\n+  get 'login' => 'user_sessions#new', :as => :login\n+  post 'logout' => 'user_sessions#destroy', :as => :logout","path":"config/routes.rb","position":11,"original_position":11,"commit_id":"04b59f7f933fc13b99a9b907d253963233943e68","original_commit_id":"04b59f7f933fc13b99a9b907d253963233943e68","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-03-19T17:12:57Z","updated_at":"2015-03-19T17:12:57Z","html_url":"https://github.com/IvanRyavkin/flashcards/pull/10#discussion_r26775561","pull_request_url":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/comments/26775561"},"html":{"href":"https://github.com/IvanRyavkin/flashcards/pull/10#discussion_r26775561"},"pull_request":{"href":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/10","id":31507434,"html_url":"https://github.com/IvanRyavkin/flashcards/pull/10","diff_url":"https://github.com/IvanRyavkin/flashcards/pull/10.diff","patch_url":"https://github.com/IvanRyavkin/flashcards/pull/10.patch","issue_url":"https://api.github.com/repos/IvanRyavkin/flashcards/issues/10","number":10,"state":"open","locked":false,"title":"add auth sorcery","user":{"login":"IvanRyavkin","id":3860555,"avatar_url":"https://avatars.githubusercontent.com/u/3860555?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanRyavkin","html_url":"https://github.com/IvanRyavkin","followers_url":"https://api.github.com/users/IvanRyavkin/followers","following_url":"https://api.github.com/users/IvanRyavkin/following{/other_user}","gists_url":"https://api.github.com/users/IvanRyavkin/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanRyavkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanRyavkin/subscriptions","organizations_url":"https://api.github.com/users/IvanRyavkin/orgs","repos_url":"https://api.github.com/users/IvanRyavkin/repos","events_url":"https://api.github.com/users/IvanRyavkin/events{/privacy}","received_events_url":"https://api.github.com/users/IvanRyavkin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-19T09:41:44Z","updated_at":"2015-03-19T17:12:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66321aa7606d124f71e694034ce8fe54cb5f9803","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/10/commits","review_comments_url":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/10/comments","review_comment_url":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IvanRyavkin/flashcards/issues/10/comments","statuses_url":"https://api.github.com/repos/IvanRyavkin/flashcards/statuses/04b59f7f933fc13b99a9b907d253963233943e68","head":{"label":"IvanRyavkin:task-9","ref":"task-9","sha":"04b59f7f933fc13b99a9b907d253963233943e68","user":{"login":"IvanRyavkin","id":3860555,"avatar_url":"https://avatars.githubusercontent.com/u/3860555?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanRyavkin","html_url":"https://github.com/IvanRyavkin","followers_url":"https://api.github.com/users/IvanRyavkin/followers","following_url":"https://api.github.com/users/IvanRyavkin/following{/other_user}","gists_url":"https://api.github.com/users/IvanRyavkin/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanRyavkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanRyavkin/subscriptions","organizations_url":"https://api.github.com/users/IvanRyavkin/orgs","repos_url":"https://api.github.com/users/IvanRyavkin/repos","events_url":"https://api.github.com/users/IvanRyavkin/events{/privacy}","received_events_url":"https://api.github.com/users/IvanRyavkin/received_events","type":"User","site_admin":false},"repo":{"id":31488935,"name":"flashcards","full_name":"IvanRyavkin/flashcards","owner":{"login":"IvanRyavkin","id":3860555,"avatar_url":"https://avatars.githubusercontent.com/u/3860555?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanRyavkin","html_url":"https://github.com/IvanRyavkin","followers_url":"https://api.github.com/users/IvanRyavkin/followers","following_url":"https://api.github.com/users/IvanRyavkin/following{/other_user}","gists_url":"https://api.github.com/users/IvanRyavkin/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanRyavkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanRyavkin/subscriptions","organizations_url":"https://api.github.com/users/IvanRyavkin/orgs","repos_url":"https://api.github.com/users/IvanRyavkin/repos","events_url":"https://api.github.com/users/IvanRyavkin/events{/privacy}","received_events_url":"https://api.github.com/users/IvanRyavkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IvanRyavkin/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/IvanRyavkin/flashcards","forks_url":"https://api.github.com/repos/IvanRyavkin/flashcards/forks","keys_url":"https://api.github.com/repos/IvanRyavkin/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IvanRyavkin/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IvanRyavkin/flashcards/teams","hooks_url":"https://api.github.com/repos/IvanRyavkin/flashcards/hooks","issue_events_url":"https://api.github.com/repos/IvanRyavkin/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/IvanRyavkin/flashcards/events","assignees_url":"https://api.github.com/repos/IvanRyavkin/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/IvanRyavkin/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/IvanRyavkin/flashcards/tags","blobs_url":"https://api.github.com/repos/IvanRyavkin/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IvanRyavkin/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IvanRyavkin/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/IvanRyavkin/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IvanRyavkin/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/IvanRyavkin/flashcards/languages","stargazers_url":"https://api.github.com/repos/IvanRyavkin/flashcards/stargazers","contributors_url":"https://api.github.com/repos/IvanRyavkin/flashcards/contributors","subscribers_url":"https://api.github.com/repos/IvanRyavkin/flashcards/subscribers","subscription_url":"https://api.github.com/repos/IvanRyavkin/flashcards/subscription","commits_url":"https://api.github.com/repos/IvanRyavkin/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/IvanRyavkin/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/IvanRyavkin/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/IvanRyavkin/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/IvanRyavkin/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/IvanRyavkin/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IvanRyavkin/flashcards/merges","archive_url":"https://api.github.com/repos/IvanRyavkin/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IvanRyavkin/flashcards/downloads","issues_url":"https://api.github.com/repos/IvanRyavkin/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/IvanRyavkin/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/IvanRyavkin/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IvanRyavkin/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/IvanRyavkin/flashcards/releases{/id}","created_at":"2015-03-01T06:33:25Z","updated_at":"2015-03-15T13:02:19Z","pushed_at":"2015-03-19T17:12:52Z","git_url":"git://github.com/IvanRyavkin/flashcards.git","ssh_url":"git@github.com:IvanRyavkin/flashcards.git","clone_url":"https://github.com/IvanRyavkin/flashcards.git","svn_url":"https://github.com/IvanRyavkin/flashcards","homepage":null,"size":522,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"IvanRyavkin:master","ref":"master","sha":"360bb72b2ca2388230dec8378b5696f353d0e3f3","user":{"login":"IvanRyavkin","id":3860555,"avatar_url":"https://avatars.githubusercontent.com/u/3860555?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanRyavkin","html_url":"https://github.com/IvanRyavkin","followers_url":"https://api.github.com/users/IvanRyavkin/followers","following_url":"https://api.github.com/users/IvanRyavkin/following{/other_user}","gists_url":"https://api.github.com/users/IvanRyavkin/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanRyavkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanRyavkin/subscriptions","organizations_url":"https://api.github.com/users/IvanRyavkin/orgs","repos_url":"https://api.github.com/users/IvanRyavkin/repos","events_url":"https://api.github.com/users/IvanRyavkin/events{/privacy}","received_events_url":"https://api.github.com/users/IvanRyavkin/received_events","type":"User","site_admin":false},"repo":{"id":31488935,"name":"flashcards","full_name":"IvanRyavkin/flashcards","owner":{"login":"IvanRyavkin","id":3860555,"avatar_url":"https://avatars.githubusercontent.com/u/3860555?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanRyavkin","html_url":"https://github.com/IvanRyavkin","followers_url":"https://api.github.com/users/IvanRyavkin/followers","following_url":"https://api.github.com/users/IvanRyavkin/following{/other_user}","gists_url":"https://api.github.com/users/IvanRyavkin/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanRyavkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanRyavkin/subscriptions","organizations_url":"https://api.github.com/users/IvanRyavkin/orgs","repos_url":"https://api.github.com/users/IvanRyavkin/repos","events_url":"https://api.github.com/users/IvanRyavkin/events{/privacy}","received_events_url":"https://api.github.com/users/IvanRyavkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IvanRyavkin/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/IvanRyavkin/flashcards","forks_url":"https://api.github.com/repos/IvanRyavkin/flashcards/forks","keys_url":"https://api.github.com/repos/IvanRyavkin/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IvanRyavkin/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IvanRyavkin/flashcards/teams","hooks_url":"https://api.github.com/repos/IvanRyavkin/flashcards/hooks","issue_events_url":"https://api.github.com/repos/IvanRyavkin/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/IvanRyavkin/flashcards/events","assignees_url":"https://api.github.com/repos/IvanRyavkin/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/IvanRyavkin/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/IvanRyavkin/flashcards/tags","blobs_url":"https://api.github.com/repos/IvanRyavkin/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IvanRyavkin/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IvanRyavkin/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/IvanRyavkin/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IvanRyavkin/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/IvanRyavkin/flashcards/languages","stargazers_url":"https://api.github.com/repos/IvanRyavkin/flashcards/stargazers","contributors_url":"https://api.github.com/repos/IvanRyavkin/flashcards/contributors","subscribers_url":"https://api.github.com/repos/IvanRyavkin/flashcards/subscribers","subscription_url":"https://api.github.com/repos/IvanRyavkin/flashcards/subscription","commits_url":"https://api.github.com/repos/IvanRyavkin/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/IvanRyavkin/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/IvanRyavkin/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/IvanRyavkin/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/IvanRyavkin/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/IvanRyavkin/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IvanRyavkin/flashcards/merges","archive_url":"https://api.github.com/repos/IvanRyavkin/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IvanRyavkin/flashcards/downloads","issues_url":"https://api.github.com/repos/IvanRyavkin/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/IvanRyavkin/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/IvanRyavkin/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IvanRyavkin/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/IvanRyavkin/flashcards/releases{/id}","created_at":"2015-03-01T06:33:25Z","updated_at":"2015-03-15T13:02:19Z","pushed_at":"2015-03-19T17:12:52Z","git_url":"git://github.com/IvanRyavkin/flashcards.git","ssh_url":"git@github.com:IvanRyavkin/flashcards.git","clone_url":"https://github.com/IvanRyavkin/flashcards.git","svn_url":"https://github.com/IvanRyavkin/flashcards","homepage":null,"size":522,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/10"},"html":{"href":"https://github.com/IvanRyavkin/flashcards/pull/10"},"issue":{"href":"https://api.github.com/repos/IvanRyavkin/flashcards/issues/10"},"comments":{"href":"https://api.github.com/repos/IvanRyavkin/flashcards/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IvanRyavkin/flashcards/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/IvanRyavkin/flashcards/statuses/04b59f7f933fc13b99a9b907d253963233943e68"}}}}