Rails.application.routes.draw do resources :livres, only: [ :index, :new, :create, :destroy, :edit, :update ] resources :livres do member do get :edit_titre patch :update_titre get :edit_auteur patch :update_auteur get :edit_date patch :update_date end end root "livres#index" get "up" => "rails/health#show", as: :rails_health_check end