restructure sqm resources and qpa resources

This commit is contained in:
rebuilt 2023-02-16 14:27:27 -08:00
parent d8e79b7072
commit e286cb6952
8 changed files with 112 additions and 8 deletions

View file

@ -4,15 +4,17 @@ Rails.application.routes.draw do
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"
get 'resource/download_pdf', to: 'resource#download_pdf'
resources :research, only: :index
get 'research/download_pdf', to: "research#download_pdf"
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"
get 'in_the_news/download_pdf', to: 'in_the_news#download_pdf'
resources :home, only: %i[index create]
resources :contacts, only: %i[new create]