skill-assessment-app/config/routes.rb

18 lines
971 B
Ruby
Raw Normal View History

2016-07-26 11:59:23 -05:00
Rails.application.routes.draw do
2016-07-30 16:25:09 -05:00
post "/validate", to: "candidate#validate", as: :validate_candidate
get "/welcome", to: "candidate#welcome", as: :welcome
get "/thankyou", to: "candidate#thankyou", as: :thankyou
get "/saved", to: "candidate#saved", as: :saved
2016-07-27 22:16:12 -05:00
2016-07-30 16:25:09 -05:00
post "/question(/:answer_id)", to: "candidate#update_answer", as: :post_answer
get "/question(/:question_id)", to: "candidate#question", as: :question
get "/live-coder-entry/:question_id", to: "candidate#live_coder", as: :live_coder
post "/summary", to: "candidate#update_summary", as: :post_summary
get "/summary", to: "candidate#summary", as: :summary
2016-07-29 11:00:04 -05:00
2016-07-28 08:47:34 -05:00
root to: "candidate#welcome"
2016-07-30 16:25:09 -05:00
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