{"action":"created","comment":{"url":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/comments/38165380","id":38165380,"diff_hunk":"@@ -1,5 +1,8 @@\n Rails.application.routes.draw do\n-  resources :courses\n+  resources :courses do\n+    get 'calendar' => 'course_participants#show'\n+    post 'calendar/update', to: 'course_participants#save_calendar'\n+  end","path":"config/routes.rb","position":6,"original_position":6,"commit_id":"4d15e7294ed99bb0f51e3be15f1ea7cc26194db0","original_commit_id":"4d15e7294ed99bb0f51e3be15f1ea7cc26194db0","user":{"login":"tgaff","id":1916144,"avatar_url":"https://avatars.githubusercontent.com/u/1916144?v=3","gravatar_id":"","url":"https://api.github.com/users/tgaff","html_url":"https://github.com/tgaff","followers_url":"https://api.github.com/users/tgaff/followers","following_url":"https://api.github.com/users/tgaff/following{/other_user}","gists_url":"https://api.github.com/users/tgaff/gists{/gist_id}","starred_url":"https://api.github.com/users/tgaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgaff/subscriptions","organizations_url":"https://api.github.com/users/tgaff/orgs","repos_url":"https://api.github.com/users/tgaff/repos","events_url":"https://api.github.com/users/tgaff/events{/privacy}","received_events_url":"https://api.github.com/users/tgaff/received_events","type":"User","site_admin":false},"body":"kill the old routes!\r\n","created_at":"2015-08-28T01:49:39Z","updated_at":"2015-08-28T01:49:39Z","html_url":"https://github.com/tgaff/horasdeoficina/pull/7#discussion_r38165380","pull_request_url":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/comments/38165380"},"html":{"href":"https://github.com/tgaff/horasdeoficina/pull/7#discussion_r38165380"},"pull_request":{"href":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/7","id":43586130,"html_url":"https://github.com/tgaff/horasdeoficina/pull/7","diff_url":"https://github.com/tgaff/horasdeoficina/pull/7.diff","patch_url":"https://github.com/tgaff/horasdeoficina/pull/7.patch","issue_url":"https://api.github.com/repos/tgaff/horasdeoficina/issues/7","number":7,"state":"open","locked":false,"title":"calendar (actually course_participants) moves under courses/","user":{"login":"tgaff","id":1916144,"avatar_url":"https://avatars.githubusercontent.com/u/1916144?v=3","gravatar_id":"","url":"https://api.github.com/users/tgaff","html_url":"https://github.com/tgaff","followers_url":"https://api.github.com/users/tgaff/followers","following_url":"https://api.github.com/users/tgaff/following{/other_user}","gists_url":"https://api.github.com/users/tgaff/gists{/gist_id}","starred_url":"https://api.github.com/users/tgaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgaff/subscriptions","organizations_url":"https://api.github.com/users/tgaff/orgs","repos_url":"https://api.github.com/users/tgaff/repos","events_url":"https://api.github.com/users/tgaff/events{/privacy}","received_events_url":"https://api.github.com/users/tgaff/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-28T01:48:05Z","updated_at":"2015-08-28T01:49:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98b69560d4a1893014af9ae1b0d8d06179279352","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/7/commits","review_comments_url":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/7/comments","review_comment_url":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgaff/horasdeoficina/issues/7/comments","statuses_url":"https://api.github.com/repos/tgaff/horasdeoficina/statuses/4d15e7294ed99bb0f51e3be15f1ea7cc26194db0","head":{"label":"tgaff:tmg/cp_cont_becomes_calendar","ref":"tmg/cp_cont_becomes_calendar","sha":"4d15e7294ed99bb0f51e3be15f1ea7cc26194db0","user":{"login":"tgaff","id":1916144,"avatar_url":"https://avatars.githubusercontent.com/u/1916144?v=3","gravatar_id":"","url":"https://api.github.com/users/tgaff","html_url":"https://github.com/tgaff","followers_url":"https://api.github.com/users/tgaff/followers","following_url":"https://api.github.com/users/tgaff/following{/other_user}","gists_url":"https://api.github.com/users/tgaff/gists{/gist_id}","starred_url":"https://api.github.com/users/tgaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgaff/subscriptions","organizations_url":"https://api.github.com/users/tgaff/orgs","repos_url":"https://api.github.com/users/tgaff/repos","events_url":"https://api.github.com/users/tgaff/events{/privacy}","received_events_url":"https://api.github.com/users/tgaff/received_events","type":"User","site_admin":false},"repo":{"id":39851793,"name":"horasdeoficina","full_name":"tgaff/horasdeoficina","owner":{"login":"tgaff","id":1916144,"avatar_url":"https://avatars.githubusercontent.com/u/1916144?v=3","gravatar_id":"","url":"https://api.github.com/users/tgaff","html_url":"https://github.com/tgaff","followers_url":"https://api.github.com/users/tgaff/followers","following_url":"https://api.github.com/users/tgaff/following{/other_user}","gists_url":"https://api.github.com/users/tgaff/gists{/gist_id}","starred_url":"https://api.github.com/users/tgaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgaff/subscriptions","organizations_url":"https://api.github.com/users/tgaff/orgs","repos_url":"https://api.github.com/users/tgaff/repos","events_url":"https://api.github.com/users/tgaff/events{/privacy}","received_events_url":"https://api.github.com/users/tgaff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgaff/horasdeoficina","description":"","fork":false,"url":"https://api.github.com/repos/tgaff/horasdeoficina","forks_url":"https://api.github.com/repos/tgaff/horasdeoficina/forks","keys_url":"https://api.github.com/repos/tgaff/horasdeoficina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgaff/horasdeoficina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgaff/horasdeoficina/teams","hooks_url":"https://api.github.com/repos/tgaff/horasdeoficina/hooks","issue_events_url":"https://api.github.com/repos/tgaff/horasdeoficina/issues/events{/number}","events_url":"https://api.github.com/repos/tgaff/horasdeoficina/events","assignees_url":"https://api.github.com/repos/tgaff/horasdeoficina/assignees{/user}","branches_url":"https://api.github.com/repos/tgaff/horasdeoficina/branches{/branch}","tags_url":"https://api.github.com/repos/tgaff/horasdeoficina/tags","blobs_url":"https://api.github.com/repos/tgaff/horasdeoficina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgaff/horasdeoficina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgaff/horasdeoficina/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgaff/horasdeoficina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgaff/horasdeoficina/statuses/{sha}","languages_url":"https://api.github.com/repos/tgaff/horasdeoficina/languages","stargazers_url":"https://api.github.com/repos/tgaff/horasdeoficina/stargazers","contributors_url":"https://api.github.com/repos/tgaff/horasdeoficina/contributors","subscribers_url":"https://api.github.com/repos/tgaff/horasdeoficina/subscribers","subscription_url":"https://api.github.com/repos/tgaff/horasdeoficina/subscription","commits_url":"https://api.github.com/repos/tgaff/horasdeoficina/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgaff/horasdeoficina/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgaff/horasdeoficina/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgaff/horasdeoficina/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgaff/horasdeoficina/contents/{+path}","compare_url":"https://api.github.com/repos/tgaff/horasdeoficina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgaff/horasdeoficina/merges","archive_url":"https://api.github.com/repos/tgaff/horasdeoficina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgaff/horasdeoficina/downloads","issues_url":"https://api.github.com/repos/tgaff/horasdeoficina/issues{/number}","pulls_url":"https://api.github.com/repos/tgaff/horasdeoficina/pulls{/number}","milestones_url":"https://api.github.com/repos/tgaff/horasdeoficina/milestones{/number}","notifications_url":"https://api.github.com/repos/tgaff/horasdeoficina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgaff/horasdeoficina/labels{/name}","releases_url":"https://api.github.com/repos/tgaff/horasdeoficina/releases{/id}","created_at":"2015-07-28T18:46:59Z","updated_at":"2015-07-28T20:36:35Z","pushed_at":"2015-08-28T01:48:05Z","git_url":"git://github.com/tgaff/horasdeoficina.git","ssh_url":"git@github.com:tgaff/horasdeoficina.git","clone_url":"https://github.com/tgaff/horasdeoficina.git","svn_url":"https://github.com/tgaff/horasdeoficina","homepage":null,"size":1848,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"tgaff:master","ref":"master","sha":"051fc4d962654d680026ca4791d2e143a3345c33","user":{"login":"tgaff","id":1916144,"avatar_url":"https://avatars.githubusercontent.com/u/1916144?v=3","gravatar_id":"","url":"https://api.github.com/users/tgaff","html_url":"https://github.com/tgaff","followers_url":"https://api.github.com/users/tgaff/followers","following_url":"https://api.github.com/users/tgaff/following{/other_user}","gists_url":"https://api.github.com/users/tgaff/gists{/gist_id}","starred_url":"https://api.github.com/users/tgaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgaff/subscriptions","organizations_url":"https://api.github.com/users/tgaff/orgs","repos_url":"https://api.github.com/users/tgaff/repos","events_url":"https://api.github.com/users/tgaff/events{/privacy}","received_events_url":"https://api.github.com/users/tgaff/received_events","type":"User","site_admin":false},"repo":{"id":39851793,"name":"horasdeoficina","full_name":"tgaff/horasdeoficina","owner":{"login":"tgaff","id":1916144,"avatar_url":"https://avatars.githubusercontent.com/u/1916144?v=3","gravatar_id":"","url":"https://api.github.com/users/tgaff","html_url":"https://github.com/tgaff","followers_url":"https://api.github.com/users/tgaff/followers","following_url":"https://api.github.com/users/tgaff/following{/other_user}","gists_url":"https://api.github.com/users/tgaff/gists{/gist_id}","starred_url":"https://api.github.com/users/tgaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgaff/subscriptions","organizations_url":"https://api.github.com/users/tgaff/orgs","repos_url":"https://api.github.com/users/tgaff/repos","events_url":"https://api.github.com/users/tgaff/events{/privacy}","received_events_url":"https://api.github.com/users/tgaff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgaff/horasdeoficina","description":"","fork":false,"url":"https://api.github.com/repos/tgaff/horasdeoficina","forks_url":"https://api.github.com/repos/tgaff/horasdeoficina/forks","keys_url":"https://api.github.com/repos/tgaff/horasdeoficina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgaff/horasdeoficina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgaff/horasdeoficina/teams","hooks_url":"https://api.github.com/repos/tgaff/horasdeoficina/hooks","issue_events_url":"https://api.github.com/repos/tgaff/horasdeoficina/issues/events{/number}","events_url":"https://api.github.com/repos/tgaff/horasdeoficina/events","assignees_url":"https://api.github.com/repos/tgaff/horasdeoficina/assignees{/user}","branches_url":"https://api.github.com/repos/tgaff/horasdeoficina/branches{/branch}","tags_url":"https://api.github.com/repos/tgaff/horasdeoficina/tags","blobs_url":"https://api.github.com/repos/tgaff/horasdeoficina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgaff/horasdeoficina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgaff/horasdeoficina/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgaff/horasdeoficina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgaff/horasdeoficina/statuses/{sha}","languages_url":"https://api.github.com/repos/tgaff/horasdeoficina/languages","stargazers_url":"https://api.github.com/repos/tgaff/horasdeoficina/stargazers","contributors_url":"https://api.github.com/repos/tgaff/horasdeoficina/contributors","subscribers_url":"https://api.github.com/repos/tgaff/horasdeoficina/subscribers","subscription_url":"https://api.github.com/repos/tgaff/horasdeoficina/subscription","commits_url":"https://api.github.com/repos/tgaff/horasdeoficina/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgaff/horasdeoficina/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgaff/horasdeoficina/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgaff/horasdeoficina/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgaff/horasdeoficina/contents/{+path}","compare_url":"https://api.github.com/repos/tgaff/horasdeoficina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgaff/horasdeoficina/merges","archive_url":"https://api.github.com/repos/tgaff/horasdeoficina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgaff/horasdeoficina/downloads","issues_url":"https://api.github.com/repos/tgaff/horasdeoficina/issues{/number}","pulls_url":"https://api.github.com/repos/tgaff/horasdeoficina/pulls{/number}","milestones_url":"https://api.github.com/repos/tgaff/horasdeoficina/milestones{/number}","notifications_url":"https://api.github.com/repos/tgaff/horasdeoficina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgaff/horasdeoficina/labels{/name}","releases_url":"https://api.github.com/repos/tgaff/horasdeoficina/releases{/id}","created_at":"2015-07-28T18:46:59Z","updated_at":"2015-07-28T20:36:35Z","pushed_at":"2015-08-28T01:48:05Z","git_url":"git://github.com/tgaff/horasdeoficina.git","ssh_url":"git@github.com:tgaff/horasdeoficina.git","clone_url":"https://github.com/tgaff/horasdeoficina.git","svn_url":"https://github.com/tgaff/horasdeoficina","homepage":null,"size":1848,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/7"},"html":{"href":"https://github.com/tgaff/horasdeoficina/pull/7"},"issue":{"href":"https://api.github.com/repos/tgaff/horasdeoficina/issues/7"},"comments":{"href":"https://api.github.com/repos/tgaff/horasdeoficina/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgaff/horasdeoficina/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/tgaff/horasdeoficina/statuses/4d15e7294ed99bb0f51e3be15f1ea7cc26194db0"}}}}