mirror of
https://github.com/edcommonwealth/ecp.org.git
synced 2026-03-07 21:48:13 -08:00
23 lines
872 B
Ruby
23 lines
872 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 :sqm_resources, only: :index
|
|
resources :qpa_resources, 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 :in_the_news, only: :index
|
|
get 'in_the_news/download_pdf', to: 'in_the_news#download_pdf'
|
|
resources :home, only: %i[index create]
|
|
|
|
resources :contacts, only: %i[index new create]
|
|
|
|
root 'home#index'
|
|
end
|