fix admin/candidate[s] naming
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user