Rails.application.routes.draw do
  resources :demands
  resources :use_restrictions
  resources :item_has_use_restrictions
  resources :lending_policies
  resources :circulation_statuses
  resources :baskets, except: [:edit, :update]
  resources :checkouts, only: :index do
    put :remove_all, on: :collection
  end
  resources :user_checkout_stats
  resources :user_reserve_stats
  resources :manifestation_checkout_stats
  resources :manifestation_reserve_stats
  resources :carrier_type_has_checkout_types
  resources :user_group_has_checkout_types
  resources :checkout_types
  resources :checkins, except: [:edit, :update]
  resources :checked_items
  resources :checkouts
  resources :reserves
  resources :items do
    resources :checked_items
    resources :item_has_use_restrictions
    resources :lending_policies
    resources :checkouts
  end
end
