From 3e1f4f02098d99ce7ed59c584cdc20cdcee409b2 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 11 Jan 2023 18:34:30 +0100 Subject: [PATCH] correctif(safe_mailer): autorise le new/create depuis le manager --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 235342cbb..1243e43a3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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'