a littel more routing

This commit is contained in:
Mark Moser
2016-07-28 08:47:34 -05:00
parent 8623fe0d93
commit 0950b7eb2a
4 changed files with 25 additions and 10 deletions

View File

@ -1,10 +1,13 @@
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
get "/question", to: 'candidate#question', as: :question
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
get "/question", to: "candidate#question", as: :question
post "/question", to: "candidate#update_question", as: :post_question
post "/validate", to: "candidate#validate", as: :validate_candidate
root to: 'candidate#welcome'
root to: "candidate#welcome"
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end