{"action":"created","comment":{"url":"https://api.github.com/repos/sitesmake/qna/pulls/comments/59115579","id":59115579,"diff_hunk":"@@ -1,4 +1,6 @@\n Rails.application.routes.draw do\n+  resources :subscriptions, only: [:create, :destroy]","path":"config/routes.rb","position":2,"original_position":2,"commit_id":"001f216df00874f1633b0f95fe84d912b8aa2500","original_commit_id":"001f216df00874f1633b0f95fe84d912b8aa2500","user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"body":"Ресурс можно было бы сделать вложенным в questions, так всегда знаешь, для какого вопроса подписка.","created_at":"2016-04-09T13:58:58Z","updated_at":"2016-04-09T13:58:58Z","html_url":"https://github.com/sitesmake/qna/pull/17#discussion_r59115579","pull_request_url":"https://api.github.com/repos/sitesmake/qna/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/sitesmake/qna/pulls/comments/59115579"},"html":{"href":"https://github.com/sitesmake/qna/pull/17#discussion_r59115579"},"pull_request":{"href":"https://api.github.com/repos/sitesmake/qna/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/sitesmake/qna/pulls/17","id":65843010,"html_url":"https://github.com/sitesmake/qna/pull/17","diff_url":"https://github.com/sitesmake/qna/pull/17.diff","patch_url":"https://github.com/sitesmake/qna/pull/17.patch","issue_url":"https://api.github.com/repos/sitesmake/qna/issues/17","number":17,"state":"open","locked":false,"title":"17 background jobs","user":{"login":"sitesmake","id":3517142,"avatar_url":"https://avatars.githubusercontent.com/u/3517142?v=3","gravatar_id":"","url":"https://api.github.com/users/sitesmake","html_url":"https://github.com/sitesmake","followers_url":"https://api.github.com/users/sitesmake/followers","following_url":"https://api.github.com/users/sitesmake/following{/other_user}","gists_url":"https://api.github.com/users/sitesmake/gists{/gist_id}","starred_url":"https://api.github.com/users/sitesmake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitesmake/subscriptions","organizations_url":"https://api.github.com/users/sitesmake/orgs","repos_url":"https://api.github.com/users/sitesmake/repos","events_url":"https://api.github.com/users/sitesmake/events{/privacy}","received_events_url":"https://api.github.com/users/sitesmake/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-08T20:29:45Z","updated_at":"2016-04-09T13:58:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"115606a6e2671fd65e76f396e502f175bcdf7460","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sitesmake/qna/pulls/17/commits","review_comments_url":"https://api.github.com/repos/sitesmake/qna/pulls/17/comments","review_comment_url":"https://api.github.com/repos/sitesmake/qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sitesmake/qna/issues/17/comments","statuses_url":"https://api.github.com/repos/sitesmake/qna/statuses/001f216df00874f1633b0f95fe84d912b8aa2500","head":{"label":"sitesmake:17_background_jobs","ref":"17_background_jobs","sha":"001f216df00874f1633b0f95fe84d912b8aa2500","user":{"login":"sitesmake","id":3517142,"avatar_url":"https://avatars.githubusercontent.com/u/3517142?v=3","gravatar_id":"","url":"https://api.github.com/users/sitesmake","html_url":"https://github.com/sitesmake","followers_url":"https://api.github.com/users/sitesmake/followers","following_url":"https://api.github.com/users/sitesmake/following{/other_user}","gists_url":"https://api.github.com/users/sitesmake/gists{/gist_id}","starred_url":"https://api.github.com/users/sitesmake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitesmake/subscriptions","organizations_url":"https://api.github.com/users/sitesmake/orgs","repos_url":"https://api.github.com/users/sitesmake/repos","events_url":"https://api.github.com/users/sitesmake/events{/privacy}","received_events_url":"https://api.github.com/users/sitesmake/received_events","type":"User","site_admin":false},"repo":{"id":50009638,"name":"qna","full_name":"sitesmake/qna","owner":{"login":"sitesmake","id":3517142,"avatar_url":"https://avatars.githubusercontent.com/u/3517142?v=3","gravatar_id":"","url":"https://api.github.com/users/sitesmake","html_url":"https://github.com/sitesmake","followers_url":"https://api.github.com/users/sitesmake/followers","following_url":"https://api.github.com/users/sitesmake/following{/other_user}","gists_url":"https://api.github.com/users/sitesmake/gists{/gist_id}","starred_url":"https://api.github.com/users/sitesmake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitesmake/subscriptions","organizations_url":"https://api.github.com/users/sitesmake/orgs","repos_url":"https://api.github.com/users/sitesmake/repos","events_url":"https://api.github.com/users/sitesmake/events{/privacy}","received_events_url":"https://api.github.com/users/sitesmake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sitesmake/qna","description":"Thinknetica learning project","fork":false,"url":"https://api.github.com/repos/sitesmake/qna","forks_url":"https://api.github.com/repos/sitesmake/qna/forks","keys_url":"https://api.github.com/repos/sitesmake/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sitesmake/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sitesmake/qna/teams","hooks_url":"https://api.github.com/repos/sitesmake/qna/hooks","issue_events_url":"https://api.github.com/repos/sitesmake/qna/issues/events{/number}","events_url":"https://api.github.com/repos/sitesmake/qna/events","assignees_url":"https://api.github.com/repos/sitesmake/qna/assignees{/user}","branches_url":"https://api.github.com/repos/sitesmake/qna/branches{/branch}","tags_url":"https://api.github.com/repos/sitesmake/qna/tags","blobs_url":"https://api.github.com/repos/sitesmake/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sitesmake/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sitesmake/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/sitesmake/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sitesmake/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/sitesmake/qna/languages","stargazers_url":"https://api.github.com/repos/sitesmake/qna/stargazers","contributors_url":"https://api.github.com/repos/sitesmake/qna/contributors","subscribers_url":"https://api.github.com/repos/sitesmake/qna/subscribers","subscription_url":"https://api.github.com/repos/sitesmake/qna/subscription","commits_url":"https://api.github.com/repos/sitesmake/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/sitesmake/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/sitesmake/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/sitesmake/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/sitesmake/qna/contents/{+path}","compare_url":"https://api.github.com/repos/sitesmake/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sitesmake/qna/merges","archive_url":"https://api.github.com/repos/sitesmake/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sitesmake/qna/downloads","issues_url":"https://api.github.com/repos/sitesmake/qna/issues{/number}","pulls_url":"https://api.github.com/repos/sitesmake/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/sitesmake/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/sitesmake/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sitesmake/qna/labels{/name}","releases_url":"https://api.github.com/repos/sitesmake/qna/releases{/id}","deployments_url":"https://api.github.com/repos/sitesmake/qna/deployments","created_at":"2016-01-20T06:27:43Z","updated_at":"2016-02-08T03:49:41Z","pushed_at":"2016-04-09T10:27:51Z","git_url":"git://github.com/sitesmake/qna.git","ssh_url":"git@github.com:sitesmake/qna.git","clone_url":"https://github.com/sitesmake/qna.git","svn_url":"https://github.com/sitesmake/qna","homepage":"","size":245,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"sitesmake:master","ref":"master","sha":"85c9743cc649aa7d357bfcacbdab88d2d9e6870d","user":{"login":"sitesmake","id":3517142,"avatar_url":"https://avatars.githubusercontent.com/u/3517142?v=3","gravatar_id":"","url":"https://api.github.com/users/sitesmake","html_url":"https://github.com/sitesmake","followers_url":"https://api.github.com/users/sitesmake/followers","following_url":"https://api.github.com/users/sitesmake/following{/other_user}","gists_url":"https://api.github.com/users/sitesmake/gists{/gist_id}","starred_url":"https://api.github.com/users/sitesmake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitesmake/subscriptions","organizations_url":"https://api.github.com/users/sitesmake/orgs","repos_url":"https://api.github.com/users/sitesmake/repos","events_url":"https://api.github.com/users/sitesmake/events{/privacy}","received_events_url":"https://api.github.com/users/sitesmake/received_events","type":"User","site_admin":false},"repo":{"id":50009638,"name":"qna","full_name":"sitesmake/qna","owner":{"login":"sitesmake","id":3517142,"avatar_url":"https://avatars.githubusercontent.com/u/3517142?v=3","gravatar_id":"","url":"https://api.github.com/users/sitesmake","html_url":"https://github.com/sitesmake","followers_url":"https://api.github.com/users/sitesmake/followers","following_url":"https://api.github.com/users/sitesmake/following{/other_user}","gists_url":"https://api.github.com/users/sitesmake/gists{/gist_id}","starred_url":"https://api.github.com/users/sitesmake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitesmake/subscriptions","organizations_url":"https://api.github.com/users/sitesmake/orgs","repos_url":"https://api.github.com/users/sitesmake/repos","events_url":"https://api.github.com/users/sitesmake/events{/privacy}","received_events_url":"https://api.github.com/users/sitesmake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sitesmake/qna","description":"Thinknetica learning project","fork":false,"url":"https://api.github.com/repos/sitesmake/qna","forks_url":"https://api.github.com/repos/sitesmake/qna/forks","keys_url":"https://api.github.com/repos/sitesmake/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sitesmake/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sitesmake/qna/teams","hooks_url":"https://api.github.com/repos/sitesmake/qna/hooks","issue_events_url":"https://api.github.com/repos/sitesmake/qna/issues/events{/number}","events_url":"https://api.github.com/repos/sitesmake/qna/events","assignees_url":"https://api.github.com/repos/sitesmake/qna/assignees{/user}","branches_url":"https://api.github.com/repos/sitesmake/qna/branches{/branch}","tags_url":"https://api.github.com/repos/sitesmake/qna/tags","blobs_url":"https://api.github.com/repos/sitesmake/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sitesmake/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sitesmake/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/sitesmake/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sitesmake/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/sitesmake/qna/languages","stargazers_url":"https://api.github.com/repos/sitesmake/qna/stargazers","contributors_url":"https://api.github.com/repos/sitesmake/qna/contributors","subscribers_url":"https://api.github.com/repos/sitesmake/qna/subscribers","subscription_url":"https://api.github.com/repos/sitesmake/qna/subscription","commits_url":"https://api.github.com/repos/sitesmake/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/sitesmake/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/sitesmake/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/sitesmake/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/sitesmake/qna/contents/{+path}","compare_url":"https://api.github.com/repos/sitesmake/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sitesmake/qna/merges","archive_url":"https://api.github.com/repos/sitesmake/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sitesmake/qna/downloads","issues_url":"https://api.github.com/repos/sitesmake/qna/issues{/number}","pulls_url":"https://api.github.com/repos/sitesmake/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/sitesmake/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/sitesmake/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sitesmake/qna/labels{/name}","releases_url":"https://api.github.com/repos/sitesmake/qna/releases{/id}","deployments_url":"https://api.github.com/repos/sitesmake/qna/deployments","created_at":"2016-01-20T06:27:43Z","updated_at":"2016-02-08T03:49:41Z","pushed_at":"2016-04-09T10:27:51Z","git_url":"git://github.com/sitesmake/qna.git","ssh_url":"git@github.com:sitesmake/qna.git","clone_url":"https://github.com/sitesmake/qna.git","svn_url":"https://github.com/sitesmake/qna","homepage":"","size":245,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sitesmake/qna/pulls/17"},"html":{"href":"https://github.com/sitesmake/qna/pull/17"},"issue":{"href":"https://api.github.com/repos/sitesmake/qna/issues/17"},"comments":{"href":"https://api.github.com/repos/sitesmake/qna/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/sitesmake/qna/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/sitesmake/qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sitesmake/qna/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/sitesmake/qna/statuses/001f216df00874f1633b0f95fe84d912b8aa2500"}}}}