Add instructeurs to groupe

This commit is contained in:
simon lehericey 2019-10-10 19:36:56 +02:00
parent 3dd3af8482
commit a6deafd885
6 changed files with 99 additions and 1 deletions

View file

@ -350,7 +350,11 @@ Rails.application.routes.draw do
get 'annotations'
end
resources :groupe_instructeurs, only: [:index, :show, :create, :update]
resources :groupe_instructeurs, only: [:index, :show, :create, :update] do
member do
post 'add_instructeur'
end
end
resources :administrateurs, controller: 'procedure_administrateurs', only: [:index, :create, :destroy]