answer inserts
This commit is contained in:
@ -1,16 +1,17 @@
|
||||
Rails.application.routes.draw do
|
||||
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
|
||||
post "/summary", to: "candidate#update_summary", as: :post_summary
|
||||
post "/question", to: "candidate#update_question", as: :post_question
|
||||
get "/question", to: "candidate#question", as: :question
|
||||
post "/validate", to: "candidate#validate", as: :validate_candidate
|
||||
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
|
||||
|
||||
# live coder partial
|
||||
get "/live-coder-entry/:question_id", to: "candidate#live_coder"
|
||||
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
|
||||
|
||||
root to: "candidate#welcome"
|
||||
|
||||
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
||||
end
|
||||
|
Reference in New Issue
Block a user