{"action":"created","comment":{"url":"https://api.github.com/repos/wolox-training/fv-rails/pulls/comments/223709600","pull_request_review_id":162895452,"id":223709600,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzcwOTYwMA==","diff_hunk":"@@ -1,6 +1,7 @@\n Rails.application.routes.draw do\n \n   resources :book\n+  resources :rent","path":"config/routes.rb","position":4,"original_position":4,"commit_id":"2c05c9bbed8686cafe6c837361ada6fa6cbafe14","original_commit_id":"2c05c9bbed8686cafe6c837361ada6fa6cbafe14","user":{"login":"Gmarn","id":20647745,"node_id":"MDQ6VXNlcjIwNjQ3NzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/20647745?v=4","gravatar_id":"","url":"https://api.github.com/users/Gmarn","html_url":"https://github.com/Gmarn","followers_url":"https://api.github.com/users/Gmarn/followers","following_url":"https://api.github.com/users/Gmarn/following{/other_user}","gists_url":"https://api.github.com/users/Gmarn/gists{/gist_id}","starred_url":"https://api.github.com/users/Gmarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gmarn/subscriptions","organizations_url":"https://api.github.com/users/Gmarn/orgs","repos_url":"https://api.github.com/users/Gmarn/repos","events_url":"https://api.github.com/users/Gmarn/events{/privacy}","received_events_url":"https://api.github.com/users/Gmarn/received_events","type":"User","site_admin":false},"body":"Can you allow only the endpoints you need? `create` and `index` ","created_at":"2018-10-09T13:52:55Z","updated_at":"2018-10-09T13:53:41Z","html_url":"https://github.com/wolox-training/fv-rails/pull/16#discussion_r223709600","pull_request_url":"https://api.github.com/repos/wolox-training/fv-rails/pulls/16","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/wolox-training/fv-rails/pulls/comments/223709600"},"html":{"href":"https://github.com/wolox-training/fv-rails/pull/16#discussion_r223709600"},"pull_request":{"href":"https://api.github.com/repos/wolox-training/fv-rails/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/wolox-training/fv-rails/pulls/16","id":220404487,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNDA0NDg3","html_url":"https://github.com/wolox-training/fv-rails/pull/16","diff_url":"https://github.com/wolox-training/fv-rails/pull/16.diff","patch_url":"https://github.com/wolox-training/fv-rails/pull/16.patch","issue_url":"https://api.github.com/repos/wolox-training/fv-rails/issues/16","number":16,"state":"open","locked":false,"title":"Create index rent","user":{"login":"FVolonnino","id":43348036,"node_id":"MDQ6VXNlcjQzMzQ4MDM2","avatar_url":"https://avatars2.githubusercontent.com/u/43348036?v=4","gravatar_id":"","url":"https://api.github.com/users/FVolonnino","html_url":"https://github.com/FVolonnino","followers_url":"https://api.github.com/users/FVolonnino/followers","following_url":"https://api.github.com/users/FVolonnino/following{/other_user}","gists_url":"https://api.github.com/users/FVolonnino/gists{/gist_id}","starred_url":"https://api.github.com/users/FVolonnino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FVolonnino/subscriptions","organizations_url":"https://api.github.com/users/FVolonnino/orgs","repos_url":"https://api.github.com/users/FVolonnino/repos","events_url":"https://api.github.com/users/FVolonnino/events{/privacy}","received_events_url":"https://api.github.com/users/FVolonnino/received_events","type":"User","site_admin":false},"body":"Routes for creating and listing rents","created_at":"2018-10-04T14:43:14Z","updated_at":"2018-10-09T13:53:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f30072a3aea36c470a1999db3790d739f0205be6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wolox-training/fv-rails/pulls/16/commits","review_comments_url":"https://api.github.com/repos/wolox-training/fv-rails/pulls/16/comments","review_comment_url":"https://api.github.com/repos/wolox-training/fv-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wolox-training/fv-rails/issues/16/comments","statuses_url":"https://api.github.com/repos/wolox-training/fv-rails/statuses/2c05c9bbed8686cafe6c837361ada6fa6cbafe14","head":{"label":"wolox-training:create-index-rent","ref":"create-index-rent","sha":"2c05c9bbed8686cafe6c837361ada6fa6cbafe14","user":{"login":"wolox-training","id":14113351,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTEzMzUx","avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":149118622,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkxMTg2MjI=","name":"fv-rails","full_name":"wolox-training/fv-rails","private":false,"owner":{"login":"wolox-training","id":14113351,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTEzMzUx","avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wolox-training/fv-rails","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/fv-rails","forks_url":"https://api.github.com/repos/wolox-training/fv-rails/forks","keys_url":"https://api.github.com/repos/wolox-training/fv-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/fv-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/fv-rails/teams","hooks_url":"https://api.github.com/repos/wolox-training/fv-rails/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/fv-rails/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/fv-rails/events","assignees_url":"https://api.github.com/repos/wolox-training/fv-rails/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/fv-rails/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/fv-rails/tags","blobs_url":"https://api.github.com/repos/wolox-training/fv-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/fv-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/fv-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/fv-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/fv-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/fv-rails/languages","stargazers_url":"https://api.github.com/repos/wolox-training/fv-rails/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/fv-rails/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/fv-rails/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/fv-rails/subscription","commits_url":"https://api.github.com/repos/wolox-training/fv-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/fv-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/fv-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/fv-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/fv-rails/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/fv-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/fv-rails/merges","archive_url":"https://api.github.com/repos/wolox-training/fv-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/fv-rails/downloads","issues_url":"https://api.github.com/repos/wolox-training/fv-rails/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/fv-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/fv-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/fv-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/fv-rails/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/fv-rails/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/fv-rails/deployments","created_at":"2018-09-17T12:01:32Z","updated_at":"2018-10-05T15:43:38Z","pushed_at":"2018-10-08T20:57:42Z","git_url":"git://github.com/wolox-training/fv-rails.git","ssh_url":"git@github.com:wolox-training/fv-rails.git","clone_url":"https://github.com/wolox-training/fv-rails.git","svn_url":"https://github.com/wolox-training/fv-rails","homepage":null,"size":89,"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":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"wolox-training:index-show-routes","ref":"index-show-routes","sha":"c16099465b4c3142a0729b6116c01635e72ad232","user":{"login":"wolox-training","id":14113351,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTEzMzUx","avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":149118622,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkxMTg2MjI=","name":"fv-rails","full_name":"wolox-training/fv-rails","private":false,"owner":{"login":"wolox-training","id":14113351,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTEzMzUx","avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wolox-training/fv-rails","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/fv-rails","forks_url":"https://api.github.com/repos/wolox-training/fv-rails/forks","keys_url":"https://api.github.com/repos/wolox-training/fv-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/fv-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/fv-rails/teams","hooks_url":"https://api.github.com/repos/wolox-training/fv-rails/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/fv-rails/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/fv-rails/events","assignees_url":"https://api.github.com/repos/wolox-training/fv-rails/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/fv-rails/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/fv-rails/tags","blobs_url":"https://api.github.com/repos/wolox-training/fv-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/fv-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/fv-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/fv-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/fv-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/fv-rails/languages","stargazers_url":"https://api.github.com/repos/wolox-training/fv-rails/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/fv-rails/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/fv-rails/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/fv-rails/subscription","commits_url":"https://api.github.com/repos/wolox-training/fv-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/fv-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/fv-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/fv-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/fv-rails/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/fv-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/fv-rails/merges","archive_url":"https://api.github.com/repos/wolox-training/fv-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/fv-rails/downloads","issues_url":"https://api.github.com/repos/wolox-training/fv-rails/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/fv-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/fv-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/fv-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/fv-rails/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/fv-rails/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/fv-rails/deployments","created_at":"2018-09-17T12:01:32Z","updated_at":"2018-10-05T15:43:38Z","pushed_at":"2018-10-08T20:57:42Z","git_url":"git://github.com/wolox-training/fv-rails.git","ssh_url":"git@github.com:wolox-training/fv-rails.git","clone_url":"https://github.com/wolox-training/fv-rails.git","svn_url":"https://github.com/wolox-training/fv-rails","homepage":null,"size":89,"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":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wolox-training/fv-rails/pulls/16"},"html":{"href":"https://github.com/wolox-training/fv-rails/pull/16"},"issue":{"href":"https://api.github.com/repos/wolox-training/fv-rails/issues/16"},"comments":{"href":"https://api.github.com/repos/wolox-training/fv-rails/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/wolox-training/fv-rails/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/wolox-training/fv-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wolox-training/fv-rails/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/wolox-training/fv-rails/statuses/2c05c9bbed8686cafe6c837361ada6fa6cbafe14"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Gmarn"}}