From 98782f8bf01328a37ea772e6a3b705344cd0a125 Mon Sep 17 00:00:00 2001 From: Benoit Queyron <72251526+Benoit-MINT@users.noreply.github.com> Date: Fri, 14 Jun 2024 17:37:05 +0200 Subject: [PATCH] suggestion de Colin Co-authored-by: Colin Darie --- app/mailers/notification_mailer.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/mailers/notification_mailer.rb b/app/mailers/notification_mailer.rb index c319df7dd..e64a68ddc 100644 --- a/app/mailers/notification_mailer.rb +++ b/app/mailers/notification_mailer.rb @@ -92,11 +92,8 @@ class NotificationMailer < ApplicationMailer def set_jdma if params[:state] == Dossier.states.fetch(:en_construction) && @dossier.procedure.monavis_embed @jdma_html = @dossier.procedure.monavis_embed_html_source("email") - else - return end end - def set_dossier @dossier = params[:dossier] configure_defaults_for_user(@dossier.user)