2016-07-26 11:59:23 -05:00
|
|
|
Rails.application.routes.draw do
|
2016-07-28 08:47:34 -05:00
|
|
|
get "/welcome", to: "candidate#welcome", as: :welcome
|
|
|
|
get "/thankyou", to: "candidate#thankyou", as: :thankyou
|
|
|
|
get "/saved", to: "candidate#saved", as: :saved
|
|
|
|
get "/summary", to: "candidate#summary", as: :summary
|
2016-07-28 20:54:08 -05:00
|
|
|
post "/summary", to: "candidate#update_summary", as: :post_summary
|
2016-07-28 08:47:34 -05:00
|
|
|
post "/question", to: "candidate#update_question", as: :post_question
|
2016-07-28 09:37:46 -05:00
|
|
|
get "/question", to: "candidate#question", as: :question
|
2016-07-28 08:47:34 -05:00
|
|
|
post "/validate", to: "candidate#validate", as: :validate_candidate
|
2016-07-27 22:16:12 -05:00
|
|
|
|
2016-07-28 08:47:34 -05:00
|
|
|
root to: "candidate#welcome"
|
2016-07-26 11:59:23 -05:00
|
|
|
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
|
|
|
end
|