correctif(safe_mailer): autorise le new/create depuis le manager

This commit is contained in:
Martin 2023-01-11 18:34:30 +01:00
parent 1a6b693312
commit 3e1f4f0209

View file

@ -71,7 +71,7 @@ Rails.application.routes.draw do
resources :outdated_procedures, only: [:index] do
patch :bulk_update, on: :collection
end
resources :safe_mailers, only: [:index, :edit, :update, :destroy]
resources :safe_mailers, only: [:index, :edit, :update, :destroy, :new, :create]
post 'demandes/create_administrateur'
post 'demandes/refuse_administrateur'