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.
 
 
 
 
 
 

17 lines
394 B

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