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.
20 lines
589 B
20 lines
589 B
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 :analyze, only: [:index]
|
|
end
|
|
end
|
|
|
|
get :reports, to: "reports#index"
|
|
get "reports/gps", to: "gps#index"
|
|
get :exports, to: "exports#index"
|
|
get "exports/csv", to: "exports#show"
|
|
|
|
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
|