GitHub PullRequestReviewCommentEvent at 2014-09-08 20:19:44
Repository: teamleada.com
Actor: tristantao
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/teamleada/teamleada.com/pulls/comments/17264015","id":17264015,"diff_hunk":"@@ -19,32 +19,27 @@\n     end\n \n     resources :users, only: [:index, :show] do\n-      member do\n-        match 'projects/:project_id/publish-feedback', to: 'users#publish_feedback',\n-                                                       as: :publish_feedback,\n-                                                       via: :get\n-        match 'projects/:project_id/grant-access',     to: 'users#grant_access',\n-                                                       as: :grant_access,\n-                                                       via: :get\n-        match 'projects/:project_id/deny-access',      to: 'users#deny_access',\n-                                                       as: :deny_access,\n-                                                       via: :get\n-\n-        match 'projects/:project_id/code-submissions', to: 'users#show_code_submissions',\n-                                                       as: :code_submissions,\n-                                                       via: :get\n-        match 'projects/:project_id/code-submissions/:code_submission_id', to: 'users#show_code_submission',\n-                                                                           as: :code_submission,\n-                                                                           via: :get\n-        match 'projects/:project_id/code-submissions/:code_submission_id/evaluate', to: 'code_submissions#evaluate',\n-                                                                                    as: :evaluate,\n-                                                                                    via: :post\n-        match 'projects/:project_id/code-submissions/:code_submission_id/evaluate', to: 'code_submissions#update_evaluation',\n-                                                                                    as: :update_evaluation,\n-                                                                                    via: :patch\n-        match 'projects/:project_id/code-submissions/:code_submission_id/evaluations', to: 'code_submission_evaluations#index',\n-                                                                                       as: :evaluations,\n-                                                                                       via: :get\n+      scope module: :users do","path":"config/routes/admin_routes.rb","position":30,"original_position":30,"commit_id":"b783c3bcd5a8b374a5bdaf36fbb05d9b9375b5ab","original_commit_id":"b783c3bcd5a8b374a5bdaf36fbb05d9b9375b5ab","user":{"login":"tristantao","id":1359922,"avatar_url":"https://avatars.githubusercontent.com/u/1359922?v=2","gravatar_id":"488807c5484bb465d4e9a44b7086cf99","url":"https://api.github.com/users/tristantao","html_url":"https://github.com/tristantao","followers_url":"https://api.github.com/users/tristantao/followers","following_url":"https://api.github.com/users/tristantao/following{/other_user}","gists_url":"https://api.github.com/users/tristantao/gists{/gist_id}","starred_url":"https://api.github.com/users/tristantao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristantao/subscriptions","organizations_url":"https://api.github.com/users/tristantao/orgs","repos_url":"https://api.github.com/users/tristantao/repos","events_url":"https://api.github.com/users/tristantao/events{/privacy}","received_events_url":"https://api.github.com/users/tristantao/received_events","type":"User","site_admin":false},"body":"booo","created_at":"2014-09-08T20:19:44Z","updated_at":"2014-09-08T20:19:44Z","html_url":"https://github.com/teamleada/teamleada.com/pull/906#discussion_r17264015","pull_request_url":"https://api.github.com/repos/teamleada/teamleada.com/pulls/906","_links":{"self":{"href":"https://api.github.com/repos/teamleada/teamleada.com/pulls/comments/17264015"},"html":{"href":"https://github.com/teamleada/teamleada.com/pull/906#discussion_r17264015"},"pull_request":{"href":"https://api.github.com/repos/teamleada/teamleada.com/pulls/906"}}},"pull_request":{"url":"https://api.github.com/repos/teamleada/teamleada.com/pulls/906","id":20913829,"html_url":"https://github.com/teamleada/teamleada.com/pull/906","diff_url":"https://github.com/teamleada/teamleada.com/pull/906.diff","patch_url":"https://github.com/teamleada/teamleada.com/pull/906.patch","issue_url":"https://api.github.com/repos/teamleada/teamleada.com/issues/906","number":906,"state":"open","locked":false,"title":"Refactor users/projects/code_submissions/evaluations controllers","user":{"login":"negativetwelve","id":1435378,"avatar_url":"https://avatars.githubusercontent.com/u/1435378?v=2","gravatar_id":"dca8ea2ef85135aca16bf2457cdee3eb","url":"https://api.github.com/users/negativetwelve","html_url":"https://github.com/negativetwelve","followers_url":"https://api.github.com/users/negativetwelve/followers","following_url":"https://api.github.com/users/negativetwelve/following{/other_user}","gists_url":"https://api.github.com/users/negativetwelve/gists{/gist_id}","starred_url":"https://api.github.com/users/negativetwelve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negativetwelve/subscriptions","organizations_url":"https://api.github.com/users/negativetwelve/orgs","repos_url":"https://api.github.com/users/negativetwelve/repos","events_url":"https://api.github.com/users/negativetwelve/events{/privacy}","received_events_url":"https://api.github.com/users/negativetwelve/received_events","type":"User","site_admin":false},"body":"Make them use scopes and modules like good ruby coders. \r\nCloses #904 ","created_at":"2014-09-08T20:02:06Z","updated_at":"2014-09-08T20:19:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ddb2034d912dd7746c48a77032b2237366395313","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/teamleada/teamleada.com/pulls/906/commits","review_comments_url":"https://api.github.com/repos/teamleada/teamleada.com/pulls/906/comments","review_comment_url":"https://api.github.com/repos/teamleada/teamleada.com/pulls/comments/{number}","comments_url":"https://api.github.com/repos/teamleada/teamleada.com/issues/906/comments","statuses_url":"https://api.github.com/repos/teamleada/teamleada.com/statuses/b783c3bcd5a8b374a5bdaf36fbb05d9b9375b5ab","head":{"label":"teamleada:mark-use-nested-controller","ref":"mark-use-nested-controller","sha":"b783c3bcd5a8b374a5bdaf36fbb05d9b9375b5ab","user":{"login":"teamleada","id":6879737,"avatar_url":"https://avatars.githubusercontent.com/u/6879737?v=2","gravatar_id":null,"url":"https://api.github.com/users/teamleada","html_url":"https://github.com/teamleada","followers_url":"https://api.github.com/users/teamleada/followers","following_url":"https://api.github.com/users/teamleada/following{/other_user}","gists_url":"https://api.github.com/users/teamleada/gists{/gist_id}","starred_url":"https://api.github.com/users/teamleada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamleada/subscriptions","organizations_url":"https://api.github.com/users/teamleada/orgs","repos_url":"https://api.github.com/users/teamleada/repos","events_url":"https://api.github.com/users/teamleada/events{/privacy}","received_events_url":"https://api.github.com/users/teamleada/received_events","type":"Organization","site_admin":false},"repo":{"id":17501893,"name":"teamleada.com","full_name":"teamleada/teamleada.com","owner":{"login":"teamleada","id":6879737,"avatar_url":"https://avatars.githubusercontent.com/u/6879737?v=2","gravatar_id":null,"url":"https://api.github.com/users/teamleada","html_url":"https://github.com/teamleada","followers_url":"https://api.github.com/users/teamleada/followers","following_url":"https://api.github.com/users/teamleada/following{/other_user}","gists_url":"https://api.github.com/users/teamleada/gists{/gist_id}","starred_url":"https://api.github.com/users/teamleada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamleada/subscriptions","organizations_url":"https://api.github.com/users/teamleada/orgs","repos_url":"https://api.github.com/users/teamleada/repos","events_url":"https://api.github.com/users/teamleada/events{/privacy}","received_events_url":"https://api.github.com/users/teamleada/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamleada/teamleada.com","description":"Homepage for Leada","fork":false,"url":"https://api.github.com/repos/teamleada/teamleada.com","forks_url":"https://api.github.com/repos/teamleada/teamleada.com/forks","keys_url":"https://api.github.com/repos/teamleada/teamleada.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamleada/teamleada.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamleada/teamleada.com/teams","hooks_url":"https://api.github.com/repos/teamleada/teamleada.com/hooks","issue_events_url":"https://api.github.com/repos/teamleada/teamleada.com/issues/events{/number}","events_url":"https://api.github.com/repos/teamleada/teamleada.com/events","assignees_url":"https://api.github.com/repos/teamleada/teamleada.com/assignees{/user}","branches_url":"https://api.github.com/repos/teamleada/teamleada.com/branches{/branch}","tags_url":"https://api.github.com/repos/teamleada/teamleada.com/tags","blobs_url":"https://api.github.com/repos/teamleada/teamleada.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamleada/teamleada.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamleada/teamleada.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamleada/teamleada.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamleada/teamleada.com/statuses/{sha}","languages_url":"https://api.github.com/repos/teamleada/teamleada.com/languages","stargazers_url":"https://api.github.com/repos/teamleada/teamleada.com/stargazers","contributors_url":"https://api.github.com/repos/teamleada/teamleada.com/contributors","subscribers_url":"https://api.github.com/repos/teamleada/teamleada.com/subscribers","subscription_url":"https://api.github.com/repos/teamleada/teamleada.com/subscription","commits_url":"https://api.github.com/repos/teamleada/teamleada.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamleada/teamleada.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamleada/teamleada.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamleada/teamleada.com/issues/comments/{number}","contents_url":"https://api.github.com/repos/teamleada/teamleada.com/contents/{+path}","compare_url":"https://api.github.com/repos/teamleada/teamleada.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamleada/teamleada.com/merges","archive_url":"https://api.github.com/repos/teamleada/teamleada.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamleada/teamleada.com/downloads","issues_url":"https://api.github.com/repos/teamleada/teamleada.com/issues{/number}","pulls_url":"https://api.github.com/repos/teamleada/teamleada.com/pulls{/number}","milestones_url":"https://api.github.com/repos/teamleada/teamleada.com/milestones{/number}","notifications_url":"https://api.github.com/repos/teamleada/teamleada.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamleada/teamleada.com/labels{/name}","releases_url":"https://api.github.com/repos/teamleada/teamleada.com/releases{/id}","created_at":"2014-03-07T03:44:18Z","updated_at":"2014-09-02T04:16:03Z","pushed_at":"2014-09-08T19:59:37Z","git_url":"git://github.com/teamleada/teamleada.com.git","ssh_url":"git@github.com:teamleada/teamleada.com.git","clone_url":"https://github.com/teamleada/teamleada.com.git","svn_url":"https://github.com/teamleada/teamleada.com","homepage":"http://www.teamleada.com","size":48996,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":158,"forks":0,"open_issues":158,"watchers":4,"default_branch":"master"}},"base":{"label":"teamleada:master","ref":"master","sha":"c50a719ea47f9dd1be6dd9e74cbfc0c29da7f608","user":{"login":"teamleada","id":6879737,"avatar_url":"https://avatars.githubusercontent.com/u/6879737?v=2","gravatar_id":null,"url":"https://api.github.com/users/teamleada","html_url":"https://github.com/teamleada","followers_url":"https://api.github.com/users/teamleada/followers","following_url":"https://api.github.com/users/teamleada/following{/other_user}","gists_url":"https://api.github.com/users/teamleada/gists{/gist_id}","starred_url":"https://api.github.com/users/teamleada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamleada/subscriptions","organizations_url":"https://api.github.com/users/teamleada/orgs","repos_url":"https://api.github.com/users/teamleada/repos","events_url":"https://api.github.com/users/teamleada/events{/privacy}","received_events_url":"https://api.github.com/users/teamleada/received_events","type":"Organization","site_admin":false},"repo":{"id":17501893,"name":"teamleada.com","full_name":"teamleada/teamleada.com","owner":{"login":"teamleada","id":6879737,"avatar_url":"https://avatars.githubusercontent.com/u/6879737?v=2","gravatar_id":null,"url":"https://api.github.com/users/teamleada","html_url":"https://github.com/teamleada","followers_url":"https://api.github.com/users/teamleada/followers","following_url":"https://api.github.com/users/teamleada/following{/other_user}","gists_url":"https://api.github.com/users/teamleada/gists{/gist_id}","starred_url":"https://api.github.com/users/teamleada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamleada/subscriptions","organizations_url":"https://api.github.com/users/teamleada/orgs","repos_url":"https://api.github.com/users/teamleada/repos","events_url":"https://api.github.com/users/teamleada/events{/privacy}","received_events_url":"https://api.github.com/users/teamleada/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamleada/teamleada.com","description":"Homepage for Leada","fork":false,"url":"https://api.github.com/repos/teamleada/teamleada.com","forks_url":"https://api.github.com/repos/teamleada/teamleada.com/forks","keys_url":"https://api.github.com/repos/teamleada/teamleada.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamleada/teamleada.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamleada/teamleada.com/teams","hooks_url":"https://api.github.com/repos/teamleada/teamleada.com/hooks","issue_events_url":"https://api.github.com/repos/teamleada/teamleada.com/issues/events{/number}","events_url":"https://api.github.com/repos/teamleada/teamleada.com/events","assignees_url":"https://api.github.com/repos/teamleada/teamleada.com/assignees{/user}","branches_url":"https://api.github.com/repos/teamleada/teamleada.com/branches{/branch}","tags_url":"https://api.github.com/repos/teamleada/teamleada.com/tags","blobs_url":"https://api.github.com/repos/teamleada/teamleada.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamleada/teamleada.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamleada/teamleada.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamleada/teamleada.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamleada/teamleada.com/statuses/{sha}","languages_url":"https://api.github.com/repos/teamleada/teamleada.com/languages","stargazers_url":"https://api.github.com/repos/teamleada/teamleada.com/stargazers","contributors_url":"https://api.github.com/repos/teamleada/teamleada.com/contributors","subscribers_url":"https://api.github.com/repos/teamleada/teamleada.com/subscribers","subscription_url":"https://api.github.com/repos/teamleada/teamleada.com/subscription","commits_url":"https://api.github.com/repos/teamleada/teamleada.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamleada/teamleada.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamleada/teamleada.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamleada/teamleada.com/issues/comments/{number}","contents_url":"https://api.github.com/repos/teamleada/teamleada.com/contents/{+path}","compare_url":"https://api.github.com/repos/teamleada/teamleada.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamleada/teamleada.com/merges","archive_url":"https://api.github.com/repos/teamleada/teamleada.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamleada/teamleada.com/downloads","issues_url":"https://api.github.com/repos/teamleada/teamleada.com/issues{/number}","pulls_url":"https://api.github.com/repos/teamleada/teamleada.com/pulls{/number}","milestones_url":"https://api.github.com/repos/teamleada/teamleada.com/milestones{/number}","notifications_url":"https://api.github.com/repos/teamleada/teamleada.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamleada/teamleada.com/labels{/name}","releases_url":"https://api.github.com/repos/teamleada/teamleada.com/releases{/id}","created_at":"2014-03-07T03:44:18Z","updated_at":"2014-09-02T04:16:03Z","pushed_at":"2014-09-08T19:59:37Z","git_url":"git://github.com/teamleada/teamleada.com.git","ssh_url":"git@github.com:teamleada/teamleada.com.git","clone_url":"https://github.com/teamleada/teamleada.com.git","svn_url":"https://github.com/teamleada/teamleada.com","homepage":"http://www.teamleada.com","size":48996,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":158,"forks":0,"open_issues":158,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teamleada/teamleada.com/pulls/906"},"html":{"href":"https://github.com/teamleada/teamleada.com/pull/906"},"issue":{"href":"https://api.github.com/repos/teamleada/teamleada.com/issues/906"},"comments":{"href":"https://api.github.com/repos/teamleada/teamleada.com/issues/906/comments"},"review_comments":{"href":"https://api.github.com/repos/teamleada/teamleada.com/pulls/906/comments"},"review_comment":{"href":"https://api.github.com/repos/teamleada/teamleada.com/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/teamleada/teamleada.com/pulls/906/commits"},"statuses":{"href":"https://api.github.com/repos/teamleada/teamleada.com/statuses/b783c3bcd5a8b374a5bdaf36fbb05d9b9375b5ab"}}}}