{"action":"created","comment":{"url":"https://api.github.com/repos/dimanado/DaK_backend/pulls/comments/42050677","id":42050677,"diff_hunk":"@@ -15,4 +15,9 @@ def create\n     end\n   end\n \n+  def all_courses","path":"app/controllers/courses_controller.rb","position":11,"original_position":11,"commit_id":"73c5eb7ea73b64acd396234b82ea487758947029","original_commit_id":"73c5eb7ea73b64acd396234b82ea487758947029","user":{"login":"Maxyss","id":1955603,"avatar_url":"https://avatars.githubusercontent.com/u/1955603?v=3","gravatar_id":"","url":"https://api.github.com/users/Maxyss","html_url":"https://github.com/Maxyss","followers_url":"https://api.github.com/users/Maxyss/followers","following_url":"https://api.github.com/users/Maxyss/following{/other_user}","gists_url":"https://api.github.com/users/Maxyss/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxyss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxyss/subscriptions","organizations_url":"https://api.github.com/users/Maxyss/orgs","repos_url":"https://api.github.com/users/Maxyss/repos","events_url":"https://api.github.com/users/Maxyss/events{/privacy}","received_events_url":"https://api.github.com/users/Maxyss/received_events","type":"User","site_admin":false},"body":"Надо будет переделать. Не нужен здесь кастомный экшн. Пока оставь","created_at":"2015-10-14T20:47:20Z","updated_at":"2015-10-14T20:47:20Z","html_url":"https://github.com/dimanado/DaK_backend/pull/3#discussion_r42050677","pull_request_url":"https://api.github.com/repos/dimanado/DaK_backend/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/dimanado/DaK_backend/pulls/comments/42050677"},"html":{"href":"https://github.com/dimanado/DaK_backend/pull/3#discussion_r42050677"},"pull_request":{"href":"https://api.github.com/repos/dimanado/DaK_backend/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/dimanado/DaK_backend/pulls/3","id":47711481,"html_url":"https://github.com/dimanado/DaK_backend/pull/3","diff_url":"https://github.com/dimanado/DaK_backend/pull/3.diff","patch_url":"https://github.com/dimanado/DaK_backend/pull/3.patch","issue_url":"https://api.github.com/repos/dimanado/DaK_backend/issues/3","number":3,"state":"open","locked":false,"title":"Feature/course","user":{"login":"dimanado","id":11485650,"avatar_url":"https://avatars.githubusercontent.com/u/11485650?v=3","gravatar_id":"","url":"https://api.github.com/users/dimanado","html_url":"https://github.com/dimanado","followers_url":"https://api.github.com/users/dimanado/followers","following_url":"https://api.github.com/users/dimanado/following{/other_user}","gists_url":"https://api.github.com/users/dimanado/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanado/subscriptions","organizations_url":"https://api.github.com/users/dimanado/orgs","repos_url":"https://api.github.com/users/dimanado/repos","events_url":"https://api.github.com/users/dimanado/events{/privacy}","received_events_url":"https://api.github.com/users/dimanado/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-14T20:36:42Z","updated_at":"2015-10-14T20:47:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08857f48b69ff6554f3c9aa164ae35cc2ae1715a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dimanado/DaK_backend/pulls/3/commits","review_comments_url":"https://api.github.com/repos/dimanado/DaK_backend/pulls/3/comments","review_comment_url":"https://api.github.com/repos/dimanado/DaK_backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimanado/DaK_backend/issues/3/comments","statuses_url":"https://api.github.com/repos/dimanado/DaK_backend/statuses/73c5eb7ea73b64acd396234b82ea487758947029","head":{"label":"dimanado:feature/course","ref":"feature/course","sha":"73c5eb7ea73b64acd396234b82ea487758947029","user":{"login":"dimanado","id":11485650,"avatar_url":"https://avatars.githubusercontent.com/u/11485650?v=3","gravatar_id":"","url":"https://api.github.com/users/dimanado","html_url":"https://github.com/dimanado","followers_url":"https://api.github.com/users/dimanado/followers","following_url":"https://api.github.com/users/dimanado/following{/other_user}","gists_url":"https://api.github.com/users/dimanado/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanado/subscriptions","organizations_url":"https://api.github.com/users/dimanado/orgs","repos_url":"https://api.github.com/users/dimanado/repos","events_url":"https://api.github.com/users/dimanado/events{/privacy}","received_events_url":"https://api.github.com/users/dimanado/received_events","type":"User","site_admin":false},"repo":{"id":39886528,"name":"DaK_backend","full_name":"dimanado/DaK_backend","owner":{"login":"dimanado","id":11485650,"avatar_url":"https://avatars.githubusercontent.com/u/11485650?v=3","gravatar_id":"","url":"https://api.github.com/users/dimanado","html_url":"https://github.com/dimanado","followers_url":"https://api.github.com/users/dimanado/followers","following_url":"https://api.github.com/users/dimanado/following{/other_user}","gists_url":"https://api.github.com/users/dimanado/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanado/subscriptions","organizations_url":"https://api.github.com/users/dimanado/orgs","repos_url":"https://api.github.com/users/dimanado/repos","events_url":"https://api.github.com/users/dimanado/events{/privacy}","received_events_url":"https://api.github.com/users/dimanado/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dimanado/DaK_backend","description":"","fork":false,"url":"https://api.github.com/repos/dimanado/DaK_backend","forks_url":"https://api.github.com/repos/dimanado/DaK_backend/forks","keys_url":"https://api.github.com/repos/dimanado/DaK_backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimanado/DaK_backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimanado/DaK_backend/teams","hooks_url":"https://api.github.com/repos/dimanado/DaK_backend/hooks","issue_events_url":"https://api.github.com/repos/dimanado/DaK_backend/issues/events{/number}","events_url":"https://api.github.com/repos/dimanado/DaK_backend/events","assignees_url":"https://api.github.com/repos/dimanado/DaK_backend/assignees{/user}","branches_url":"https://api.github.com/repos/dimanado/DaK_backend/branches{/branch}","tags_url":"https://api.github.com/repos/dimanado/DaK_backend/tags","blobs_url":"https://api.github.com/repos/dimanado/DaK_backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimanado/DaK_backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimanado/DaK_backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimanado/DaK_backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimanado/DaK_backend/statuses/{sha}","languages_url":"https://api.github.com/repos/dimanado/DaK_backend/languages","stargazers_url":"https://api.github.com/repos/dimanado/DaK_backend/stargazers","contributors_url":"https://api.github.com/repos/dimanado/DaK_backend/contributors","subscribers_url":"https://api.github.com/repos/dimanado/DaK_backend/subscribers","subscription_url":"https://api.github.com/repos/dimanado/DaK_backend/subscription","commits_url":"https://api.github.com/repos/dimanado/DaK_backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimanado/DaK_backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimanado/DaK_backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimanado/DaK_backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimanado/DaK_backend/contents/{+path}","compare_url":"https://api.github.com/repos/dimanado/DaK_backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimanado/DaK_backend/merges","archive_url":"https://api.github.com/repos/dimanado/DaK_backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimanado/DaK_backend/downloads","issues_url":"https://api.github.com/repos/dimanado/DaK_backend/issues{/number}","pulls_url":"https://api.github.com/repos/dimanado/DaK_backend/pulls{/number}","milestones_url":"https://api.github.com/repos/dimanado/DaK_backend/milestones{/number}","notifications_url":"https://api.github.com/repos/dimanado/DaK_backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimanado/DaK_backend/labels{/name}","releases_url":"https://api.github.com/repos/dimanado/DaK_backend/releases{/id}","created_at":"2015-07-29T10:00:10Z","updated_at":"2015-10-02T20:30:41Z","pushed_at":"2015-10-14T20:36:42Z","git_url":"git://github.com/dimanado/DaK_backend.git","ssh_url":"git@github.com:dimanado/DaK_backend.git","clone_url":"https://github.com/dimanado/DaK_backend.git","svn_url":"https://github.com/dimanado/DaK_backend","homepage":null,"size":12420,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"dimanado:develop","ref":"develop","sha":"c9663e31e76c066ec68b8965c19f88af27dc737f","user":{"login":"dimanado","id":11485650,"avatar_url":"https://avatars.githubusercontent.com/u/11485650?v=3","gravatar_id":"","url":"https://api.github.com/users/dimanado","html_url":"https://github.com/dimanado","followers_url":"https://api.github.com/users/dimanado/followers","following_url":"https://api.github.com/users/dimanado/following{/other_user}","gists_url":"https://api.github.com/users/dimanado/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanado/subscriptions","organizations_url":"https://api.github.com/users/dimanado/orgs","repos_url":"https://api.github.com/users/dimanado/repos","events_url":"https://api.github.com/users/dimanado/events{/privacy}","received_events_url":"https://api.github.com/users/dimanado/received_events","type":"User","site_admin":false},"repo":{"id":39886528,"name":"DaK_backend","full_name":"dimanado/DaK_backend","owner":{"login":"dimanado","id":11485650,"avatar_url":"https://avatars.githubusercontent.com/u/11485650?v=3","gravatar_id":"","url":"https://api.github.com/users/dimanado","html_url":"https://github.com/dimanado","followers_url":"https://api.github.com/users/dimanado/followers","following_url":"https://api.github.com/users/dimanado/following{/other_user}","gists_url":"https://api.github.com/users/dimanado/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanado/subscriptions","organizations_url":"https://api.github.com/users/dimanado/orgs","repos_url":"https://api.github.com/users/dimanado/repos","events_url":"https://api.github.com/users/dimanado/events{/privacy}","received_events_url":"https://api.github.com/users/dimanado/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dimanado/DaK_backend","description":"","fork":false,"url":"https://api.github.com/repos/dimanado/DaK_backend","forks_url":"https://api.github.com/repos/dimanado/DaK_backend/forks","keys_url":"https://api.github.com/repos/dimanado/DaK_backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimanado/DaK_backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimanado/DaK_backend/teams","hooks_url":"https://api.github.com/repos/dimanado/DaK_backend/hooks","issue_events_url":"https://api.github.com/repos/dimanado/DaK_backend/issues/events{/number}","events_url":"https://api.github.com/repos/dimanado/DaK_backend/events","assignees_url":"https://api.github.com/repos/dimanado/DaK_backend/assignees{/user}","branches_url":"https://api.github.com/repos/dimanado/DaK_backend/branches{/branch}","tags_url":"https://api.github.com/repos/dimanado/DaK_backend/tags","blobs_url":"https://api.github.com/repos/dimanado/DaK_backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimanado/DaK_backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimanado/DaK_backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimanado/DaK_backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimanado/DaK_backend/statuses/{sha}","languages_url":"https://api.github.com/repos/dimanado/DaK_backend/languages","stargazers_url":"https://api.github.com/repos/dimanado/DaK_backend/stargazers","contributors_url":"https://api.github.com/repos/dimanado/DaK_backend/contributors","subscribers_url":"https://api.github.com/repos/dimanado/DaK_backend/subscribers","subscription_url":"https://api.github.com/repos/dimanado/DaK_backend/subscription","commits_url":"https://api.github.com/repos/dimanado/DaK_backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimanado/DaK_backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimanado/DaK_backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimanado/DaK_backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimanado/DaK_backend/contents/{+path}","compare_url":"https://api.github.com/repos/dimanado/DaK_backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimanado/DaK_backend/merges","archive_url":"https://api.github.com/repos/dimanado/DaK_backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimanado/DaK_backend/downloads","issues_url":"https://api.github.com/repos/dimanado/DaK_backend/issues{/number}","pulls_url":"https://api.github.com/repos/dimanado/DaK_backend/pulls{/number}","milestones_url":"https://api.github.com/repos/dimanado/DaK_backend/milestones{/number}","notifications_url":"https://api.github.com/repos/dimanado/DaK_backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimanado/DaK_backend/labels{/name}","releases_url":"https://api.github.com/repos/dimanado/DaK_backend/releases{/id}","created_at":"2015-07-29T10:00:10Z","updated_at":"2015-10-02T20:30:41Z","pushed_at":"2015-10-14T20:36:42Z","git_url":"git://github.com/dimanado/DaK_backend.git","ssh_url":"git@github.com:dimanado/DaK_backend.git","clone_url":"https://github.com/dimanado/DaK_backend.git","svn_url":"https://github.com/dimanado/DaK_backend","homepage":null,"size":12420,"stargazers_count":0,"watchers_count":0,"language":"HTML","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/dimanado/DaK_backend/pulls/3"},"html":{"href":"https://github.com/dimanado/DaK_backend/pull/3"},"issue":{"href":"https://api.github.com/repos/dimanado/DaK_backend/issues/3"},"comments":{"href":"https://api.github.com/repos/dimanado/DaK_backend/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/dimanado/DaK_backend/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/dimanado/DaK_backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimanado/DaK_backend/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/dimanado/DaK_backend/statuses/73c5eb7ea73b64acd396234b82ea487758947029"}}}}