an admin can delete a groupe-instructeur with 0 dossier

This commit is contained in:
clemkeirua 2020-01-06 17:09:08 +01:00
parent a6287d5a01
commit 45c8c8ca21
3 changed files with 22 additions and 1 deletions

View file

@ -356,7 +356,7 @@ Rails.application.routes.draw do
get 'annotations'
end
resources :groupe_instructeurs, only: [:index, :show, :create, :update] do
resources :groupe_instructeurs, only: [:index, :show, :create, :update, :destroy] do
member do
post 'add_instructeur'
delete 'remove_instructeur'