move /review to /admin/results

This commit is contained in:
Mark Moser
2016-09-22 14:19:44 -05:00
parent 9078c463f4
commit 0a9bf96e24
11 changed files with 53 additions and 131 deletions

View File

@ -47,11 +47,8 @@ Rails.application.routes.draw do
post "/admin/candidate/:id", to: "admin/candidate#update", as: :admin_update_candidate
get "/admin/candidate/:id/resend", to: "admin/candidate#resend_welcome", as: :admin_resend_welcome
get "/review/logout", to: "review#logout", as: :review_logout
post "/review/login", to: "review#auth", as: :review_auth
get "/review/login", to: "review#login", as: :review_login
get "/review", to: "review#index", as: :review
get "/review/:test_hash", to: "review#view", as: :review_test
get "/admin/results", to: "admin/result#index", as: :admin_results
get "/admin/result/:test_hash", to: "admin/result#view", as: :admin_result
get "/admin", to: "admin/dashboard#show", as: :admin