fix admin/candidate[s] naming

This commit is contained in:
Mark Moser
2016-09-22 14:21:34 -05:00
parent 0a9bf96e24
commit aeef75bf8b
5 changed files with 8 additions and 8 deletions

View File

@ -40,7 +40,7 @@ Rails.application.routes.draw do
post "/admin/profile", to: "admin/profile#update", as: :admin_update_profile
get "/admin/profile/edit", to: "admin/profile#edit", as: :admin_edit_profile
get "/admin/candidate", to: "admin/candidate#index", as: :admin_candidate
get "/admin/candidates", to: "admin/candidate#index", as: :admin_candidates
get "/admin/candidate/new", to: "admin/candidate#new", as: :admin_new_candidate
post "/admin/candidate/new", to: "admin/candidate#create", as: :admin_create_candidate
get "/admin/candidate/:id", to: "admin/candidate#edit", as: :admin_edit_candidate