ecp.org/config/routes.rb
2022-11-22 14:44:29 -08:00

19 lines
680 B
Ruby

Rails.application.routes.draw do
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
resources :team, only: :index
resources :about, only: :index
resources :sqm, only: :index
resources :qpa, only: :index
resources :resource, only: :index
get 'resource/download_pdf', to: "resource#download_pdf"
resources :research, only: :index
get 'research/download_pdf', to: "research#download_pdf"
resources :work_with_ecp, only: :index
resources :construction, only: :index
resources :district_leader, only: :index
resources :home, only: %i[index create]
resources :contacts, only: %i[new create]
root 'home#index'
end