{"action":"created","comment":{"url":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/comments/196135001","pull_request_review_id":129630745,"id":196135001,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjEzNTAwMQ==","diff_hunk":"@@ -1,8 +1,18 @@\n Rails.application.routes.draw do\n+  resources :events, only: [:index, :show]\n+  resources :bands\n+\n+  resources :organisers do\n+  resources :events, only: [:create, :edit, :update, :destroy]\n+  end\n+  resources :bands do\n+  resources :bookings\n+  end\n+  resources :organisers do\n+  resources :bookings, only: [:index, :show]\n+  end\n   get 'events/index'\n   get 'events/show'","path":"config/routes.rb","position":15,"original_position":15,"commit_id":"a1eda5ff53acacaeb5cdc3fec6849b2f4a14a417","original_commit_id":"a1eda5ff53acacaeb5cdc3fec6849b2f4a14a417","user":{"login":"OliNott","id":2183423,"node_id":"MDQ6VXNlcjIxODM0MjM=","avatar_url":"https://avatars3.githubusercontent.com/u/2183423?v=4","gravatar_id":"","url":"https://api.github.com/users/OliNott","html_url":"https://github.com/OliNott","followers_url":"https://api.github.com/users/OliNott/followers","following_url":"https://api.github.com/users/OliNott/following{/other_user}","gists_url":"https://api.github.com/users/OliNott/gists{/gist_id}","starred_url":"https://api.github.com/users/OliNott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliNott/subscriptions","organizations_url":"https://api.github.com/users/OliNott/orgs","repos_url":"https://api.github.com/users/OliNott/repos","events_url":"https://api.github.com/users/OliNott/events{/privacy}","received_events_url":"https://api.github.com/users/OliNott/received_events","type":"User","site_admin":false},"body":"This one also","created_at":"2018-06-18T16:05:02Z","updated_at":"2018-06-18T16:06:07Z","html_url":"https://github.com/AndreasLeenders/rapp/pull/4#discussion_r196135001","pull_request_url":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/4","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/comments/196135001"},"html":{"href":"https://github.com/AndreasLeenders/rapp/pull/4#discussion_r196135001"},"pull_request":{"href":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/4","id":195572878,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NTcyODc4","html_url":"https://github.com/AndreasLeenders/rapp/pull/4","diff_url":"https://github.com/AndreasLeenders/rapp/pull/4.diff","patch_url":"https://github.com/AndreasLeenders/rapp/pull/4.patch","issue_url":"https://api.github.com/repos/AndreasLeenders/rapp/issues/4","number":4,"state":"open","locked":false,"title":"first commit routes","user":{"login":"AndreasLeenders","id":38980044,"node_id":"MDQ6VXNlcjM4OTgwMDQ0","avatar_url":"https://avatars1.githubusercontent.com/u/38980044?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreasLeenders","html_url":"https://github.com/AndreasLeenders","followers_url":"https://api.github.com/users/AndreasLeenders/followers","following_url":"https://api.github.com/users/AndreasLeenders/following{/other_user}","gists_url":"https://api.github.com/users/AndreasLeenders/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreasLeenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreasLeenders/subscriptions","organizations_url":"https://api.github.com/users/AndreasLeenders/orgs","repos_url":"https://api.github.com/users/AndreasLeenders/repos","events_url":"https://api.github.com/users/AndreasLeenders/events{/privacy}","received_events_url":"https://api.github.com/users/AndreasLeenders/received_events","type":"User","site_admin":false},"body":"Check the routes. Im sure there are way too many routes. I think i have the most important ones.","created_at":"2018-06-18T15:59:10Z","updated_at":"2018-06-18T16:06:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de4ca486f7dacc6b606035010bcd5f171e7a9e38","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/4/commits","review_comments_url":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/4/comments","review_comment_url":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AndreasLeenders/rapp/issues/4/comments","statuses_url":"https://api.github.com/repos/AndreasLeenders/rapp/statuses/a1eda5ff53acacaeb5cdc3fec6849b2f4a14a417","head":{"label":"AndreasLeenders:creating-routes","ref":"creating-routes","sha":"a1eda5ff53acacaeb5cdc3fec6849b2f4a14a417","user":{"login":"AndreasLeenders","id":38980044,"node_id":"MDQ6VXNlcjM4OTgwMDQ0","avatar_url":"https://avatars1.githubusercontent.com/u/38980044?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreasLeenders","html_url":"https://github.com/AndreasLeenders","followers_url":"https://api.github.com/users/AndreasLeenders/followers","following_url":"https://api.github.com/users/AndreasLeenders/following{/other_user}","gists_url":"https://api.github.com/users/AndreasLeenders/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreasLeenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreasLeenders/subscriptions","organizations_url":"https://api.github.com/users/AndreasLeenders/orgs","repos_url":"https://api.github.com/users/AndreasLeenders/repos","events_url":"https://api.github.com/users/AndreasLeenders/events{/privacy}","received_events_url":"https://api.github.com/users/AndreasLeenders/received_events","type":"User","site_admin":false},"repo":{"id":137736740,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3MzY3NDA=","name":"rapp","full_name":"AndreasLeenders/rapp","owner":{"login":"AndreasLeenders","id":38980044,"node_id":"MDQ6VXNlcjM4OTgwMDQ0","avatar_url":"https://avatars1.githubusercontent.com/u/38980044?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreasLeenders","html_url":"https://github.com/AndreasLeenders","followers_url":"https://api.github.com/users/AndreasLeenders/followers","following_url":"https://api.github.com/users/AndreasLeenders/following{/other_user}","gists_url":"https://api.github.com/users/AndreasLeenders/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreasLeenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreasLeenders/subscriptions","organizations_url":"https://api.github.com/users/AndreasLeenders/orgs","repos_url":"https://api.github.com/users/AndreasLeenders/repos","events_url":"https://api.github.com/users/AndreasLeenders/events{/privacy}","received_events_url":"https://api.github.com/users/AndreasLeenders/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndreasLeenders/rapp","description":null,"fork":false,"url":"https://api.github.com/repos/AndreasLeenders/rapp","forks_url":"https://api.github.com/repos/AndreasLeenders/rapp/forks","keys_url":"https://api.github.com/repos/AndreasLeenders/rapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndreasLeenders/rapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndreasLeenders/rapp/teams","hooks_url":"https://api.github.com/repos/AndreasLeenders/rapp/hooks","issue_events_url":"https://api.github.com/repos/AndreasLeenders/rapp/issues/events{/number}","events_url":"https://api.github.com/repos/AndreasLeenders/rapp/events","assignees_url":"https://api.github.com/repos/AndreasLeenders/rapp/assignees{/user}","branches_url":"https://api.github.com/repos/AndreasLeenders/rapp/branches{/branch}","tags_url":"https://api.github.com/repos/AndreasLeenders/rapp/tags","blobs_url":"https://api.github.com/repos/AndreasLeenders/rapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndreasLeenders/rapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndreasLeenders/rapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndreasLeenders/rapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndreasLeenders/rapp/statuses/{sha}","languages_url":"https://api.github.com/repos/AndreasLeenders/rapp/languages","stargazers_url":"https://api.github.com/repos/AndreasLeenders/rapp/stargazers","contributors_url":"https://api.github.com/repos/AndreasLeenders/rapp/contributors","subscribers_url":"https://api.github.com/repos/AndreasLeenders/rapp/subscribers","subscription_url":"https://api.github.com/repos/AndreasLeenders/rapp/subscription","commits_url":"https://api.github.com/repos/AndreasLeenders/rapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndreasLeenders/rapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndreasLeenders/rapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndreasLeenders/rapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndreasLeenders/rapp/contents/{+path}","compare_url":"https://api.github.com/repos/AndreasLeenders/rapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndreasLeenders/rapp/merges","archive_url":"https://api.github.com/repos/AndreasLeenders/rapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndreasLeenders/rapp/downloads","issues_url":"https://api.github.com/repos/AndreasLeenders/rapp/issues{/number}","pulls_url":"https://api.github.com/repos/AndreasLeenders/rapp/pulls{/number}","milestones_url":"https://api.github.com/repos/AndreasLeenders/rapp/milestones{/number}","notifications_url":"https://api.github.com/repos/AndreasLeenders/rapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndreasLeenders/rapp/labels{/name}","releases_url":"https://api.github.com/repos/AndreasLeenders/rapp/releases{/id}","deployments_url":"https://api.github.com/repos/AndreasLeenders/rapp/deployments","created_at":"2018-06-18T10:09:40Z","updated_at":"2018-06-18T15:59:56Z","pushed_at":"2018-06-18T16:01:42Z","git_url":"git://github.com/AndreasLeenders/rapp.git","ssh_url":"git@github.com:AndreasLeenders/rapp.git","clone_url":"https://github.com/AndreasLeenders/rapp.git","svn_url":"https://github.com/AndreasLeenders/rapp","homepage":null,"size":106,"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":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"AndreasLeenders:master","ref":"master","sha":"89d41f65b5b8c2838e01d167c0347aec6cd34767","user":{"login":"AndreasLeenders","id":38980044,"node_id":"MDQ6VXNlcjM4OTgwMDQ0","avatar_url":"https://avatars1.githubusercontent.com/u/38980044?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreasLeenders","html_url":"https://github.com/AndreasLeenders","followers_url":"https://api.github.com/users/AndreasLeenders/followers","following_url":"https://api.github.com/users/AndreasLeenders/following{/other_user}","gists_url":"https://api.github.com/users/AndreasLeenders/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreasLeenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreasLeenders/subscriptions","organizations_url":"https://api.github.com/users/AndreasLeenders/orgs","repos_url":"https://api.github.com/users/AndreasLeenders/repos","events_url":"https://api.github.com/users/AndreasLeenders/events{/privacy}","received_events_url":"https://api.github.com/users/AndreasLeenders/received_events","type":"User","site_admin":false},"repo":{"id":137736740,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3MzY3NDA=","name":"rapp","full_name":"AndreasLeenders/rapp","owner":{"login":"AndreasLeenders","id":38980044,"node_id":"MDQ6VXNlcjM4OTgwMDQ0","avatar_url":"https://avatars1.githubusercontent.com/u/38980044?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreasLeenders","html_url":"https://github.com/AndreasLeenders","followers_url":"https://api.github.com/users/AndreasLeenders/followers","following_url":"https://api.github.com/users/AndreasLeenders/following{/other_user}","gists_url":"https://api.github.com/users/AndreasLeenders/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreasLeenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreasLeenders/subscriptions","organizations_url":"https://api.github.com/users/AndreasLeenders/orgs","repos_url":"https://api.github.com/users/AndreasLeenders/repos","events_url":"https://api.github.com/users/AndreasLeenders/events{/privacy}","received_events_url":"https://api.github.com/users/AndreasLeenders/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndreasLeenders/rapp","description":null,"fork":false,"url":"https://api.github.com/repos/AndreasLeenders/rapp","forks_url":"https://api.github.com/repos/AndreasLeenders/rapp/forks","keys_url":"https://api.github.com/repos/AndreasLeenders/rapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndreasLeenders/rapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndreasLeenders/rapp/teams","hooks_url":"https://api.github.com/repos/AndreasLeenders/rapp/hooks","issue_events_url":"https://api.github.com/repos/AndreasLeenders/rapp/issues/events{/number}","events_url":"https://api.github.com/repos/AndreasLeenders/rapp/events","assignees_url":"https://api.github.com/repos/AndreasLeenders/rapp/assignees{/user}","branches_url":"https://api.github.com/repos/AndreasLeenders/rapp/branches{/branch}","tags_url":"https://api.github.com/repos/AndreasLeenders/rapp/tags","blobs_url":"https://api.github.com/repos/AndreasLeenders/rapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndreasLeenders/rapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndreasLeenders/rapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndreasLeenders/rapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndreasLeenders/rapp/statuses/{sha}","languages_url":"https://api.github.com/repos/AndreasLeenders/rapp/languages","stargazers_url":"https://api.github.com/repos/AndreasLeenders/rapp/stargazers","contributors_url":"https://api.github.com/repos/AndreasLeenders/rapp/contributors","subscribers_url":"https://api.github.com/repos/AndreasLeenders/rapp/subscribers","subscription_url":"https://api.github.com/repos/AndreasLeenders/rapp/subscription","commits_url":"https://api.github.com/repos/AndreasLeenders/rapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndreasLeenders/rapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndreasLeenders/rapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndreasLeenders/rapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndreasLeenders/rapp/contents/{+path}","compare_url":"https://api.github.com/repos/AndreasLeenders/rapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndreasLeenders/rapp/merges","archive_url":"https://api.github.com/repos/AndreasLeenders/rapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndreasLeenders/rapp/downloads","issues_url":"https://api.github.com/repos/AndreasLeenders/rapp/issues{/number}","pulls_url":"https://api.github.com/repos/AndreasLeenders/rapp/pulls{/number}","milestones_url":"https://api.github.com/repos/AndreasLeenders/rapp/milestones{/number}","notifications_url":"https://api.github.com/repos/AndreasLeenders/rapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndreasLeenders/rapp/labels{/name}","releases_url":"https://api.github.com/repos/AndreasLeenders/rapp/releases{/id}","deployments_url":"https://api.github.com/repos/AndreasLeenders/rapp/deployments","created_at":"2018-06-18T10:09:40Z","updated_at":"2018-06-18T15:59:56Z","pushed_at":"2018-06-18T16:01:42Z","git_url":"git://github.com/AndreasLeenders/rapp.git","ssh_url":"git@github.com:AndreasLeenders/rapp.git","clone_url":"https://github.com/AndreasLeenders/rapp.git","svn_url":"https://github.com/AndreasLeenders/rapp","homepage":null,"size":106,"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":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/4"},"html":{"href":"https://github.com/AndreasLeenders/rapp/pull/4"},"issue":{"href":"https://api.github.com/repos/AndreasLeenders/rapp/issues/4"},"comments":{"href":"https://api.github.com/repos/AndreasLeenders/rapp/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AndreasLeenders/rapp/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/AndreasLeenders/rapp/statuses/a1eda5ff53acacaeb5cdc3fec6849b2f4a14a417"}},"author_association":"OWNER"}}
{"actor":{"display_login":"OliNott"}}