Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
394 B

Rails.application.routes.draw do
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
get "about", to: "about#index"
get "/", to: "test#index"
resources :case_logs do
Form::QUESTIONS.keys.map do |question|
get question.to_s, to: "case_logs##{question}"
post question.to_s, to: "case_logs#next_question"
end
end
end