mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
perf: add pghero and implement pghero suggestions. Remove unneeded indexes
This commit is contained in:
parent
6558ed491a
commit
115b00145d
5 changed files with 31 additions and 10 deletions
|
|
@ -2,14 +2,16 @@ Rails.application.routes.draw do
|
|||
resources :districts do
|
||||
resources :schools, only: %i[index show] do
|
||||
resources :overview, only: [:index]
|
||||
resources :categories, only: [:show], path: 'browse'
|
||||
resources :categories, only: [:show], path: "browse"
|
||||
resources :analyze, only: [:index]
|
||||
end
|
||||
end
|
||||
|
||||
get :reports, to: 'reports#index'
|
||||
get 'reports/gps', to: 'gps#index'
|
||||
get :reports, to: "reports#index"
|
||||
get "reports/gps", to: "gps#index"
|
||||
|
||||
get '/welcome', to: 'home#index'
|
||||
root to: 'home#index'
|
||||
get "/welcome", to: "home#index"
|
||||
root to: "home#index"
|
||||
|
||||
# mount PgHero::Engine, at: "pghero" # remove in development env to see suggestions at localhost:3000/pghero
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue