{"action":"created","comment":{"url":"https://api.github.com/repos/YaleSTC/vesta/pulls/comments/104507110","pull_request_review_id":25347712,"id":104507110,"diff_hunk":"@@ -4,63 +4,63 @@\n   root to: 'application#home'\n   resources :buildings\n   post 'suite_import/import', to: 'suite_imports#import', as: 'suite_import'\n-  resources :suites\n-  get 'suites/:id/merge', to: 'suites#merge', as: 'merge_suite'\n-  post 'suites/:id/merge', to: 'suites#perform_merge', as: 'perform_merge_suite'\n-  get 'suites/:id/split', to: 'suites#split', as: 'split_suite'\n-  post 'suites/:id/split', to: 'suites#perform_split', as: 'perform_split_suite'\n+  resources :suites do\n+    member do\n+      get 'merge'\n+      post 'merge', to: 'suites#perform_merge'\n+      get 'split'\n+      post 'split', to: 'suites#perform_split'\n+    end\n+  end\n   resources :rooms\n-  get 'users/build', to: 'users#build', as: 'build_user'\n+\n   resources :users do\n     member do\n       get 'intent', to: 'users#edit_intent', as: 'edit_intent'\n       patch 'intent', to: 'users#update_intent', as: 'update_intent'\n     end\n+\n+    collection do\n+      get 'build'\n+    end\n   end\n+\n   resources :enrollments, only: %i(new create)\n \n-  resources :draws do\n+  resources :draws do # rubocop:disable BlockLength","path":"config/routes.rb","position":34,"original_position":34,"commit_id":"8dc79c9d879e876d62040195f9e8eea389c6aa93","original_commit_id":"8dc79c9d879e876d62040195f9e8eea389c6aa93","user":{"login":"esoterik","id":2908224,"avatar_url":"https://avatars0.githubusercontent.com/u/2908224?v=3","gravatar_id":"","url":"https://api.github.com/users/esoterik","html_url":"https://github.com/esoterik","followers_url":"https://api.github.com/users/esoterik/followers","following_url":"https://api.github.com/users/esoterik/following{/other_user}","gists_url":"https://api.github.com/users/esoterik/gists{/gist_id}","starred_url":"https://api.github.com/users/esoterik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esoterik/subscriptions","organizations_url":"https://api.github.com/users/esoterik/orgs","repos_url":"https://api.github.com/users/esoterik/repos","events_url":"https://api.github.com/users/esoterik/events{/privacy}","received_events_url":"https://api.github.com/users/esoterik/received_events","type":"User","site_admin":false},"body":"let's just disable this metric for the whole file","created_at":"2017-03-06T19:56:23Z","updated_at":"2017-03-06T19:59:37Z","html_url":"https://github.com/YaleSTC/vesta/pull/334#discussion_r104507110","pull_request_url":"https://api.github.com/repos/YaleSTC/vesta/pulls/334","_links":{"self":{"href":"https://api.github.com/repos/YaleSTC/vesta/pulls/comments/104507110"},"html":{"href":"https://github.com/YaleSTC/vesta/pull/334#discussion_r104507110"},"pull_request":{"href":"https://api.github.com/repos/YaleSTC/vesta/pulls/334"}}},"pull_request":{"url":"https://api.github.com/repos/YaleSTC/vesta/pulls/334","id":109175712,"html_url":"https://github.com/YaleSTC/vesta/pull/334","diff_url":"https://github.com/YaleSTC/vesta/pull/334.diff","patch_url":"https://github.com/YaleSTC/vesta/pull/334.patch","issue_url":"https://api.github.com/repos/YaleSTC/vesta/issues/334","number":334,"state":"open","locked":false,"title":"[332] Fix route definitions / helpers","user":{"login":"orenyk","id":901808,"avatar_url":"https://avatars2.githubusercontent.com/u/901808?v=3","gravatar_id":"","url":"https://api.github.com/users/orenyk","html_url":"https://github.com/orenyk","followers_url":"https://api.github.com/users/orenyk/followers","following_url":"https://api.github.com/users/orenyk/following{/other_user}","gists_url":"https://api.github.com/users/orenyk/gists{/gist_id}","starred_url":"https://api.github.com/users/orenyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orenyk/subscriptions","organizations_url":"https://api.github.com/users/orenyk/orgs","repos_url":"https://api.github.com/users/orenyk/repos","events_url":"https://api.github.com/users/orenyk/events{/privacy}","received_events_url":"https://api.github.com/users/orenyk/received_events","type":"User","site_admin":false},"body":"Resolves #332\r\n- Update all custom route definitions to either use `member do` or `collection do` helpers\r\n- Update all links as necessary\r\n- Rename some group actions to make more sense\r\n- Fix add user link in admin nav","created_at":"2017-03-06T01:12:51Z","updated_at":"2017-03-06T19:59:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4b27e9e6e4896efa015967a9384265fb81d1cbe","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/YaleSTC/vesta/pulls/334/commits","review_comments_url":"https://api.github.com/repos/YaleSTC/vesta/pulls/334/comments","review_comment_url":"https://api.github.com/repos/YaleSTC/vesta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/YaleSTC/vesta/issues/334/comments","statuses_url":"https://api.github.com/repos/YaleSTC/vesta/statuses/8dc79c9d879e876d62040195f9e8eea389c6aa93","head":{"label":"YaleSTC:332_fix_routing","ref":"332_fix_routing","sha":"8dc79c9d879e876d62040195f9e8eea389c6aa93","user":{"login":"YaleSTC","id":106094,"avatar_url":"https://avatars1.githubusercontent.com/u/106094?v=3","gravatar_id":"","url":"https://api.github.com/users/YaleSTC","html_url":"https://github.com/YaleSTC","followers_url":"https://api.github.com/users/YaleSTC/followers","following_url":"https://api.github.com/users/YaleSTC/following{/other_user}","gists_url":"https://api.github.com/users/YaleSTC/gists{/gist_id}","starred_url":"https://api.github.com/users/YaleSTC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaleSTC/subscriptions","organizations_url":"https://api.github.com/users/YaleSTC/orgs","repos_url":"https://api.github.com/users/YaleSTC/repos","events_url":"https://api.github.com/users/YaleSTC/events{/privacy}","received_events_url":"https://api.github.com/users/YaleSTC/received_events","type":"Organization","site_admin":false},"repo":{"id":69689991,"name":"vesta","full_name":"YaleSTC/vesta","owner":{"login":"YaleSTC","id":106094,"avatar_url":"https://avatars1.githubusercontent.com/u/106094?v=3","gravatar_id":"","url":"https://api.github.com/users/YaleSTC","html_url":"https://github.com/YaleSTC","followers_url":"https://api.github.com/users/YaleSTC/followers","following_url":"https://api.github.com/users/YaleSTC/following{/other_user}","gists_url":"https://api.github.com/users/YaleSTC/gists{/gist_id}","starred_url":"https://api.github.com/users/YaleSTC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaleSTC/subscriptions","organizations_url":"https://api.github.com/users/YaleSTC/orgs","repos_url":"https://api.github.com/users/YaleSTC/repos","events_url":"https://api.github.com/users/YaleSTC/events{/privacy}","received_events_url":"https://api.github.com/users/YaleSTC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/YaleSTC/vesta","description":"Application for housing lottery / room draw","fork":false,"url":"https://api.github.com/repos/YaleSTC/vesta","forks_url":"https://api.github.com/repos/YaleSTC/vesta/forks","keys_url":"https://api.github.com/repos/YaleSTC/vesta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YaleSTC/vesta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YaleSTC/vesta/teams","hooks_url":"https://api.github.com/repos/YaleSTC/vesta/hooks","issue_events_url":"https://api.github.com/repos/YaleSTC/vesta/issues/events{/number}","events_url":"https://api.github.com/repos/YaleSTC/vesta/events","assignees_url":"https://api.github.com/repos/YaleSTC/vesta/assignees{/user}","branches_url":"https://api.github.com/repos/YaleSTC/vesta/branches{/branch}","tags_url":"https://api.github.com/repos/YaleSTC/vesta/tags","blobs_url":"https://api.github.com/repos/YaleSTC/vesta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YaleSTC/vesta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YaleSTC/vesta/git/refs{/sha}","trees_url":"https://api.github.com/repos/YaleSTC/vesta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YaleSTC/vesta/statuses/{sha}","languages_url":"https://api.github.com/repos/YaleSTC/vesta/languages","stargazers_url":"https://api.github.com/repos/YaleSTC/vesta/stargazers","contributors_url":"https://api.github.com/repos/YaleSTC/vesta/contributors","subscribers_url":"https://api.github.com/repos/YaleSTC/vesta/subscribers","subscription_url":"https://api.github.com/repos/YaleSTC/vesta/subscription","commits_url":"https://api.github.com/repos/YaleSTC/vesta/commits{/sha}","git_commits_url":"https://api.github.com/repos/YaleSTC/vesta/git/commits{/sha}","comments_url":"https://api.github.com/repos/YaleSTC/vesta/comments{/number}","issue_comment_url":"https://api.github.com/repos/YaleSTC/vesta/issues/comments{/number}","contents_url":"https://api.github.com/repos/YaleSTC/vesta/contents/{+path}","compare_url":"https://api.github.com/repos/YaleSTC/vesta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YaleSTC/vesta/merges","archive_url":"https://api.github.com/repos/YaleSTC/vesta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YaleSTC/vesta/downloads","issues_url":"https://api.github.com/repos/YaleSTC/vesta/issues{/number}","pulls_url":"https://api.github.com/repos/YaleSTC/vesta/pulls{/number}","milestones_url":"https://api.github.com/repos/YaleSTC/vesta/milestones{/number}","notifications_url":"https://api.github.com/repos/YaleSTC/vesta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YaleSTC/vesta/labels{/name}","releases_url":"https://api.github.com/repos/YaleSTC/vesta/releases{/id}","deployments_url":"https://api.github.com/repos/YaleSTC/vesta/deployments","created_at":"2016-09-30T18:06:33Z","updated_at":"2016-10-30T20:14:34Z","pushed_at":"2017-03-06T19:55:35Z","git_url":"git://github.com/YaleSTC/vesta.git","ssh_url":"git@github.com:YaleSTC/vesta.git","clone_url":"https://github.com/YaleSTC/vesta.git","svn_url":"https://github.com/YaleSTC/vesta","homepage":null,"size":1561,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":128,"forks":0,"open_issues":128,"watchers":2,"default_branch":"master"}},"base":{"label":"YaleSTC:master","ref":"master","sha":"f6edbed4a0f047d721f070d7ced026a6780f8c59","user":{"login":"YaleSTC","id":106094,"avatar_url":"https://avatars1.githubusercontent.com/u/106094?v=3","gravatar_id":"","url":"https://api.github.com/users/YaleSTC","html_url":"https://github.com/YaleSTC","followers_url":"https://api.github.com/users/YaleSTC/followers","following_url":"https://api.github.com/users/YaleSTC/following{/other_user}","gists_url":"https://api.github.com/users/YaleSTC/gists{/gist_id}","starred_url":"https://api.github.com/users/YaleSTC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaleSTC/subscriptions","organizations_url":"https://api.github.com/users/YaleSTC/orgs","repos_url":"https://api.github.com/users/YaleSTC/repos","events_url":"https://api.github.com/users/YaleSTC/events{/privacy}","received_events_url":"https://api.github.com/users/YaleSTC/received_events","type":"Organization","site_admin":false},"repo":{"id":69689991,"name":"vesta","full_name":"YaleSTC/vesta","owner":{"login":"YaleSTC","id":106094,"avatar_url":"https://avatars1.githubusercontent.com/u/106094?v=3","gravatar_id":"","url":"https://api.github.com/users/YaleSTC","html_url":"https://github.com/YaleSTC","followers_url":"https://api.github.com/users/YaleSTC/followers","following_url":"https://api.github.com/users/YaleSTC/following{/other_user}","gists_url":"https://api.github.com/users/YaleSTC/gists{/gist_id}","starred_url":"https://api.github.com/users/YaleSTC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaleSTC/subscriptions","organizations_url":"https://api.github.com/users/YaleSTC/orgs","repos_url":"https://api.github.com/users/YaleSTC/repos","events_url":"https://api.github.com/users/YaleSTC/events{/privacy}","received_events_url":"https://api.github.com/users/YaleSTC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/YaleSTC/vesta","description":"Application for housing lottery / room draw","fork":false,"url":"https://api.github.com/repos/YaleSTC/vesta","forks_url":"https://api.github.com/repos/YaleSTC/vesta/forks","keys_url":"https://api.github.com/repos/YaleSTC/vesta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YaleSTC/vesta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YaleSTC/vesta/teams","hooks_url":"https://api.github.com/repos/YaleSTC/vesta/hooks","issue_events_url":"https://api.github.com/repos/YaleSTC/vesta/issues/events{/number}","events_url":"https://api.github.com/repos/YaleSTC/vesta/events","assignees_url":"https://api.github.com/repos/YaleSTC/vesta/assignees{/user}","branches_url":"https://api.github.com/repos/YaleSTC/vesta/branches{/branch}","tags_url":"https://api.github.com/repos/YaleSTC/vesta/tags","blobs_url":"https://api.github.com/repos/YaleSTC/vesta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YaleSTC/vesta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YaleSTC/vesta/git/refs{/sha}","trees_url":"https://api.github.com/repos/YaleSTC/vesta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YaleSTC/vesta/statuses/{sha}","languages_url":"https://api.github.com/repos/YaleSTC/vesta/languages","stargazers_url":"https://api.github.com/repos/YaleSTC/vesta/stargazers","contributors_url":"https://api.github.com/repos/YaleSTC/vesta/contributors","subscribers_url":"https://api.github.com/repos/YaleSTC/vesta/subscribers","subscription_url":"https://api.github.com/repos/YaleSTC/vesta/subscription","commits_url":"https://api.github.com/repos/YaleSTC/vesta/commits{/sha}","git_commits_url":"https://api.github.com/repos/YaleSTC/vesta/git/commits{/sha}","comments_url":"https://api.github.com/repos/YaleSTC/vesta/comments{/number}","issue_comment_url":"https://api.github.com/repos/YaleSTC/vesta/issues/comments{/number}","contents_url":"https://api.github.com/repos/YaleSTC/vesta/contents/{+path}","compare_url":"https://api.github.com/repos/YaleSTC/vesta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YaleSTC/vesta/merges","archive_url":"https://api.github.com/repos/YaleSTC/vesta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YaleSTC/vesta/downloads","issues_url":"https://api.github.com/repos/YaleSTC/vesta/issues{/number}","pulls_url":"https://api.github.com/repos/YaleSTC/vesta/pulls{/number}","milestones_url":"https://api.github.com/repos/YaleSTC/vesta/milestones{/number}","notifications_url":"https://api.github.com/repos/YaleSTC/vesta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YaleSTC/vesta/labels{/name}","releases_url":"https://api.github.com/repos/YaleSTC/vesta/releases{/id}","deployments_url":"https://api.github.com/repos/YaleSTC/vesta/deployments","created_at":"2016-09-30T18:06:33Z","updated_at":"2016-10-30T20:14:34Z","pushed_at":"2017-03-06T19:55:35Z","git_url":"git://github.com/YaleSTC/vesta.git","ssh_url":"git@github.com:YaleSTC/vesta.git","clone_url":"https://github.com/YaleSTC/vesta.git","svn_url":"https://github.com/YaleSTC/vesta","homepage":null,"size":1561,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":128,"forks":0,"open_issues":128,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/YaleSTC/vesta/pulls/334"},"html":{"href":"https://github.com/YaleSTC/vesta/pull/334"},"issue":{"href":"https://api.github.com/repos/YaleSTC/vesta/issues/334"},"comments":{"href":"https://api.github.com/repos/YaleSTC/vesta/issues/334/comments"},"review_comments":{"href":"https://api.github.com/repos/YaleSTC/vesta/pulls/334/comments"},"review_comment":{"href":"https://api.github.com/repos/YaleSTC/vesta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/YaleSTC/vesta/pulls/334/commits"},"statuses":{"href":"https://api.github.com/repos/YaleSTC/vesta/statuses/8dc79c9d879e876d62040195f9e8eea389c6aa93"}}}}
{"actor":{"display_login":"esoterik"}}