{"action":"created","comment":{"url":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/comments/213046735","pull_request_review_id":149799530,"id":213046735,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzA0NjczNQ==","diff_hunk":"@@ -25,19 +24,20 @@\n \n   scope \":locale\", locale: /en|ru/ do\n     devise_for :users, skip: :omniauth_callbacks\n-    resources :users, only: [:show]\n+    resources :users, only: [:show] do\n+      get \"level\", on: :collection\n+    end\n     resources :subjects\n-    resources :courses\n+    resources :courses, only: [:index, :show]\n     resources :lessons, only: [:show, :index]\n     resources :questions\n     resources :cards\n     resources :answers, only: [:show, :index, :create, :new]\n     resources :radio_questions, only: [:show, :index, :create, :new]\n     resources :text_questions\n-    resources :users do\n-      get \"/map\" => \"static_pages#map\"\n-    end\n+    resources :users\n     post \"/answer\" => \"answers#create\", as: :create_answer\n+    post \"/choose_level\" => \"courses#choose_level\"","path":"config/routes.rb","position":30,"original_position":30,"commit_id":"49d37a4b55134f7bc215e5a8968fd267afa15165","original_commit_id":"cf88a8fa51d0a8730c58cff5656b4832029b6a7a","user":{"login":"mrgrecha","id":17300028,"node_id":"MDQ6VXNlcjE3MzAwMDI4","avatar_url":"https://avatars1.githubusercontent.com/u/17300028?v=4","gravatar_id":"","url":"https://api.github.com/users/mrgrecha","html_url":"https://github.com/mrgrecha","followers_url":"https://api.github.com/users/mrgrecha/followers","following_url":"https://api.github.com/users/mrgrecha/following{/other_user}","gists_url":"https://api.github.com/users/mrgrecha/gists{/gist_id}","starred_url":"https://api.github.com/users/mrgrecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrgrecha/subscriptions","organizations_url":"https://api.github.com/users/mrgrecha/orgs","repos_url":"https://api.github.com/users/mrgrecha/repos","events_url":"https://api.github.com/users/mrgrecha/events{/privacy}","received_events_url":"https://api.github.com/users/mrgrecha/received_events","type":"User","site_admin":false},"body":"Насколько помню, можно сделать блок ресурсов и внутри прописать доп роуты. Так проще потом искать будет.","created_at":"2018-08-27T17:12:34Z","updated_at":"2018-08-27T17:12:34Z","html_url":"https://github.com/rubizza-survival-camp/15english/pull/60#discussion_r213046735","pull_request_url":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/60","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/comments/213046735"},"html":{"href":"https://github.com/rubizza-survival-camp/15english/pull/60#discussion_r213046735"},"pull_request":{"href":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/60","id":210682167,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNjgyMTY3","html_url":"https://github.com/rubizza-survival-camp/15english/pull/60","diff_url":"https://github.com/rubizza-survival-camp/15english/pull/60.diff","patch_url":"https://github.com/rubizza-survival-camp/15english/pull/60.patch","issue_url":"https://api.github.com/repos/rubizza-survival-camp/15english/issues/60","number":60,"state":"open","locked":false,"title":"Setup user-choose_level-map moves","user":{"login":"VladislavIlyuschits","id":23063743,"node_id":"MDQ6VXNlcjIzMDYzNzQz","avatar_url":"https://avatars3.githubusercontent.com/u/23063743?v=4","gravatar_id":"","url":"https://api.github.com/users/VladislavIlyuschits","html_url":"https://github.com/VladislavIlyuschits","followers_url":"https://api.github.com/users/VladislavIlyuschits/followers","following_url":"https://api.github.com/users/VladislavIlyuschits/following{/other_user}","gists_url":"https://api.github.com/users/VladislavIlyuschits/gists{/gist_id}","starred_url":"https://api.github.com/users/VladislavIlyuschits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VladislavIlyuschits/subscriptions","organizations_url":"https://api.github.com/users/VladislavIlyuschits/orgs","repos_url":"https://api.github.com/users/VladislavIlyuschits/repos","events_url":"https://api.github.com/users/VladislavIlyuschits/events{/privacy}","received_events_url":"https://api.github.com/users/VladislavIlyuschits/received_events","type":"User","site_admin":false},"body":"### Создавая пуллреквест, я:\r\n * [ ] убедился, что `diff` измненеий содержит только внесеные мной изменения\r\n - [ ] проверил, что закоментированный код удален (это касается именно закоментированного кода, а не настроек гемов)\r\n - [ ] проверил, что PR не содержит пустых ненужных файлов\r\n - [ ] запустил ./checkers и rspec\r\n - [ ] проверил именование переменных и методов и их соответвие соглашениям\r\n","created_at":"2018-08-24T09:09:00Z","updated_at":"2018-08-27T17:12:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa57b68cff3faea3ea3df9b921fe5f773c3f3ff8","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Evenstein","id":19613588,"node_id":"MDQ6VXNlcjE5NjEzNTg4","avatar_url":"https://avatars2.githubusercontent.com/u/19613588?v=4","gravatar_id":"","url":"https://api.github.com/users/Evenstein","html_url":"https://github.com/Evenstein","followers_url":"https://api.github.com/users/Evenstein/followers","following_url":"https://api.github.com/users/Evenstein/following{/other_user}","gists_url":"https://api.github.com/users/Evenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/Evenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evenstein/subscriptions","organizations_url":"https://api.github.com/users/Evenstein/orgs","repos_url":"https://api.github.com/users/Evenstein/repos","events_url":"https://api.github.com/users/Evenstein/events{/privacy}","received_events_url":"https://api.github.com/users/Evenstein/received_events","type":"User","site_admin":false},{"login":"Apachina","id":40717699,"node_id":"MDQ6VXNlcjQwNzE3Njk5","avatar_url":"https://avatars3.githubusercontent.com/u/40717699?v=4","gravatar_id":"","url":"https://api.github.com/users/Apachina","html_url":"https://github.com/Apachina","followers_url":"https://api.github.com/users/Apachina/followers","following_url":"https://api.github.com/users/Apachina/following{/other_user}","gists_url":"https://api.github.com/users/Apachina/gists{/gist_id}","starred_url":"https://api.github.com/users/Apachina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apachina/subscriptions","organizations_url":"https://api.github.com/users/Apachina/orgs","repos_url":"https://api.github.com/users/Apachina/repos","events_url":"https://api.github.com/users/Apachina/events{/privacy}","received_events_url":"https://api.github.com/users/Apachina/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/60/commits","review_comments_url":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/60/comments","review_comment_url":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubizza-survival-camp/15english/issues/60/comments","statuses_url":"https://api.github.com/repos/rubizza-survival-camp/15english/statuses/49d37a4b55134f7bc215e5a8968fd267afa15165","head":{"label":"rubizza-survival-camp:setup-user-choose_level-map","ref":"setup-user-choose_level-map","sha":"49d37a4b55134f7bc215e5a8968fd267afa15165","user":{"login":"rubizza-survival-camp","id":40864986,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/40864986?v=4","gravatar_id":"","url":"https://api.github.com/users/rubizza-survival-camp","html_url":"https://github.com/rubizza-survival-camp","followers_url":"https://api.github.com/users/rubizza-survival-camp/followers","following_url":"https://api.github.com/users/rubizza-survival-camp/following{/other_user}","gists_url":"https://api.github.com/users/rubizza-survival-camp/gists{/gist_id}","starred_url":"https://api.github.com/users/rubizza-survival-camp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubizza-survival-camp/subscriptions","organizations_url":"https://api.github.com/users/rubizza-survival-camp/orgs","repos_url":"https://api.github.com/users/rubizza-survival-camp/repos","events_url":"https://api.github.com/users/rubizza-survival-camp/events{/privacy}","received_events_url":"https://api.github.com/users/rubizza-survival-camp/received_events","type":"Organization","site_admin":false},"repo":{"id":142924136,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI5MjQxMzY=","name":"15english","full_name":"rubizza-survival-camp/15english","owner":{"login":"rubizza-survival-camp","id":40864986,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/40864986?v=4","gravatar_id":"","url":"https://api.github.com/users/rubizza-survival-camp","html_url":"https://github.com/rubizza-survival-camp","followers_url":"https://api.github.com/users/rubizza-survival-camp/followers","following_url":"https://api.github.com/users/rubizza-survival-camp/following{/other_user}","gists_url":"https://api.github.com/users/rubizza-survival-camp/gists{/gist_id}","starred_url":"https://api.github.com/users/rubizza-survival-camp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubizza-survival-camp/subscriptions","organizations_url":"https://api.github.com/users/rubizza-survival-camp/orgs","repos_url":"https://api.github.com/users/rubizza-survival-camp/repos","events_url":"https://api.github.com/users/rubizza-survival-camp/events{/privacy}","received_events_url":"https://api.github.com/users/rubizza-survival-camp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubizza-survival-camp/15english","description":null,"fork":false,"url":"https://api.github.com/repos/rubizza-survival-camp/15english","forks_url":"https://api.github.com/repos/rubizza-survival-camp/15english/forks","keys_url":"https://api.github.com/repos/rubizza-survival-camp/15english/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubizza-survival-camp/15english/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubizza-survival-camp/15english/teams","hooks_url":"https://api.github.com/repos/rubizza-survival-camp/15english/hooks","issue_events_url":"https://api.github.com/repos/rubizza-survival-camp/15english/issues/events{/number}","events_url":"https://api.github.com/repos/rubizza-survival-camp/15english/events","assignees_url":"https://api.github.com/repos/rubizza-survival-camp/15english/assignees{/user}","branches_url":"https://api.github.com/repos/rubizza-survival-camp/15english/branches{/branch}","tags_url":"https://api.github.com/repos/rubizza-survival-camp/15english/tags","blobs_url":"https://api.github.com/repos/rubizza-survival-camp/15english/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubizza-survival-camp/15english/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubizza-survival-camp/15english/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubizza-survival-camp/15english/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubizza-survival-camp/15english/statuses/{sha}","languages_url":"https://api.github.com/repos/rubizza-survival-camp/15english/languages","stargazers_url":"https://api.github.com/repos/rubizza-survival-camp/15english/stargazers","contributors_url":"https://api.github.com/repos/rubizza-survival-camp/15english/contributors","subscribers_url":"https://api.github.com/repos/rubizza-survival-camp/15english/subscribers","subscription_url":"https://api.github.com/repos/rubizza-survival-camp/15english/subscription","commits_url":"https://api.github.com/repos/rubizza-survival-camp/15english/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubizza-survival-camp/15english/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubizza-survival-camp/15english/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubizza-survival-camp/15english/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubizza-survival-camp/15english/contents/{+path}","compare_url":"https://api.github.com/repos/rubizza-survival-camp/15english/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubizza-survival-camp/15english/merges","archive_url":"https://api.github.com/repos/rubizza-survival-camp/15english/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubizza-survival-camp/15english/downloads","issues_url":"https://api.github.com/repos/rubizza-survival-camp/15english/issues{/number}","pulls_url":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls{/number}","milestones_url":"https://api.github.com/repos/rubizza-survival-camp/15english/milestones{/number}","notifications_url":"https://api.github.com/repos/rubizza-survival-camp/15english/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubizza-survival-camp/15english/labels{/name}","releases_url":"https://api.github.com/repos/rubizza-survival-camp/15english/releases{/id}","deployments_url":"https://api.github.com/repos/rubizza-survival-camp/15english/deployments","created_at":"2018-07-30T20:20:29Z","updated_at":"2018-08-27T05:53:10Z","pushed_at":"2018-08-27T17:05:13Z","git_url":"git://github.com/rubizza-survival-camp/15english.git","ssh_url":"git@github.com:rubizza-survival-camp/15english.git","clone_url":"https://github.com/rubizza-survival-camp/15english.git","svn_url":"https://github.com/rubizza-survival-camp/15english","homepage":null,"size":1157,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"rubizza-survival-camp:master","ref":"master","sha":"eef9d129055d9bdd08dae331a0972ec07d2db557","user":{"login":"rubizza-survival-camp","id":40864986,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/40864986?v=4","gravatar_id":"","url":"https://api.github.com/users/rubizza-survival-camp","html_url":"https://github.com/rubizza-survival-camp","followers_url":"https://api.github.com/users/rubizza-survival-camp/followers","following_url":"https://api.github.com/users/rubizza-survival-camp/following{/other_user}","gists_url":"https://api.github.com/users/rubizza-survival-camp/gists{/gist_id}","starred_url":"https://api.github.com/users/rubizza-survival-camp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubizza-survival-camp/subscriptions","organizations_url":"https://api.github.com/users/rubizza-survival-camp/orgs","repos_url":"https://api.github.com/users/rubizza-survival-camp/repos","events_url":"https://api.github.com/users/rubizza-survival-camp/events{/privacy}","received_events_url":"https://api.github.com/users/rubizza-survival-camp/received_events","type":"Organization","site_admin":false},"repo":{"id":142924136,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI5MjQxMzY=","name":"15english","full_name":"rubizza-survival-camp/15english","owner":{"login":"rubizza-survival-camp","id":40864986,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/40864986?v=4","gravatar_id":"","url":"https://api.github.com/users/rubizza-survival-camp","html_url":"https://github.com/rubizza-survival-camp","followers_url":"https://api.github.com/users/rubizza-survival-camp/followers","following_url":"https://api.github.com/users/rubizza-survival-camp/following{/other_user}","gists_url":"https://api.github.com/users/rubizza-survival-camp/gists{/gist_id}","starred_url":"https://api.github.com/users/rubizza-survival-camp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubizza-survival-camp/subscriptions","organizations_url":"https://api.github.com/users/rubizza-survival-camp/orgs","repos_url":"https://api.github.com/users/rubizza-survival-camp/repos","events_url":"https://api.github.com/users/rubizza-survival-camp/events{/privacy}","received_events_url":"https://api.github.com/users/rubizza-survival-camp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubizza-survival-camp/15english","description":null,"fork":false,"url":"https://api.github.com/repos/rubizza-survival-camp/15english","forks_url":"https://api.github.com/repos/rubizza-survival-camp/15english/forks","keys_url":"https://api.github.com/repos/rubizza-survival-camp/15english/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubizza-survival-camp/15english/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubizza-survival-camp/15english/teams","hooks_url":"https://api.github.com/repos/rubizza-survival-camp/15english/hooks","issue_events_url":"https://api.github.com/repos/rubizza-survival-camp/15english/issues/events{/number}","events_url":"https://api.github.com/repos/rubizza-survival-camp/15english/events","assignees_url":"https://api.github.com/repos/rubizza-survival-camp/15english/assignees{/user}","branches_url":"https://api.github.com/repos/rubizza-survival-camp/15english/branches{/branch}","tags_url":"https://api.github.com/repos/rubizza-survival-camp/15english/tags","blobs_url":"https://api.github.com/repos/rubizza-survival-camp/15english/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubizza-survival-camp/15english/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubizza-survival-camp/15english/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubizza-survival-camp/15english/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubizza-survival-camp/15english/statuses/{sha}","languages_url":"https://api.github.com/repos/rubizza-survival-camp/15english/languages","stargazers_url":"https://api.github.com/repos/rubizza-survival-camp/15english/stargazers","contributors_url":"https://api.github.com/repos/rubizza-survival-camp/15english/contributors","subscribers_url":"https://api.github.com/repos/rubizza-survival-camp/15english/subscribers","subscription_url":"https://api.github.com/repos/rubizza-survival-camp/15english/subscription","commits_url":"https://api.github.com/repos/rubizza-survival-camp/15english/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubizza-survival-camp/15english/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubizza-survival-camp/15english/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubizza-survival-camp/15english/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubizza-survival-camp/15english/contents/{+path}","compare_url":"https://api.github.com/repos/rubizza-survival-camp/15english/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubizza-survival-camp/15english/merges","archive_url":"https://api.github.com/repos/rubizza-survival-camp/15english/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubizza-survival-camp/15english/downloads","issues_url":"https://api.github.com/repos/rubizza-survival-camp/15english/issues{/number}","pulls_url":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls{/number}","milestones_url":"https://api.github.com/repos/rubizza-survival-camp/15english/milestones{/number}","notifications_url":"https://api.github.com/repos/rubizza-survival-camp/15english/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubizza-survival-camp/15english/labels{/name}","releases_url":"https://api.github.com/repos/rubizza-survival-camp/15english/releases{/id}","deployments_url":"https://api.github.com/repos/rubizza-survival-camp/15english/deployments","created_at":"2018-07-30T20:20:29Z","updated_at":"2018-08-27T05:53:10Z","pushed_at":"2018-08-27T17:05:13Z","git_url":"git://github.com/rubizza-survival-camp/15english.git","ssh_url":"git@github.com:rubizza-survival-camp/15english.git","clone_url":"https://github.com/rubizza-survival-camp/15english.git","svn_url":"https://github.com/rubizza-survival-camp/15english","homepage":null,"size":1157,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/60"},"html":{"href":"https://github.com/rubizza-survival-camp/15english/pull/60"},"issue":{"href":"https://api.github.com/repos/rubizza-survival-camp/15english/issues/60"},"comments":{"href":"https://api.github.com/repos/rubizza-survival-camp/15english/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubizza-survival-camp/15english/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/rubizza-survival-camp/15english/statuses/49d37a4b55134f7bc215e5a8968fd267afa15165"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mrgrecha"}}