recruiter login + index

This commit is contained in:
Mark Moser
2016-07-31 09:56:02 -05:00
parent c9375937fa
commit 0107c601b3
11 changed files with 179 additions and 7 deletions

View File

@@ -11,6 +11,15 @@ Rails.application.routes.draw do
post "/summary", to: "candidate#update_summary", as: :post_summary
get "/summary", to: "candidate#summary", as: :summary
get "/review", to: "review#index", as: :review
get "/recruiter", to: "recruiter#index", as: :recruiter
get "/recruiter/new-candidate", to: "recruiter#new", as: :new_candidate
post "/recruiter/new-candidate", to: "recruiter#create", as: :create_candidate
get "/recruiter/logout", to: "recruiter#logout", as: :recruiter_logout
get "/recruiter/login", to: "recruiter#login", as: :recruiter_login
post "/recruiter/login", to: "recruiter#auth", as: :recruiter_auth
root to: "candidate#welcome"
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html