Rails.application.routes.draw do

  resources :schools, only: [:show]

  resources :items, only: [:show, :index]

  resources :points, only: [:show], constraints: { id: /[^\/]+/ }

end

Rails.application.routes.draw do

  root to: 'items#index'

  resources :schools, only: [:show]

  resources :items, only: [:show, :index]

  resources :points, only: [:show], constraints: { id: /[^\/]+/ }

end

Change root to be the items search view
Change root to be the items search view
