moving post answer routes back

This commit is contained in:
Mark Moser
2016-08-01 10:33:02 -05:00
parent 95eec915c4
commit fff062a3a7
5 changed files with 41 additions and 39 deletions

View File

@ -4,10 +4,7 @@ Rails.application.routes.draw do
get "/thankyou", to: "candidate#thankyou", as: :thankyou
get "/saved", to: "candidate#saved", as: :saved
post "/question/text(/:answer_id)", to: "candidate#update_text", as: :post_text
post "/question/radio(/:answer_id)", to: "candidate#update_radio", as: :post_radio
post "/question/checkbox(/:answer_id)", to: "candidate#update_checkbox", as: :post_checkbox
post "/question/live-code(/:answer_id)", to: "candidate#update_live_code", as: :post_live_code
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