DescriptionController: send initiatedMail notification
This commit is contained in:
parent
3d7f04ad3d
commit
2536774519
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ class Users::DescriptionController < UsersController
|
|||
if mandatory
|
||||
if @dossier.draft?
|
||||
@dossier.initiated!
|
||||
NotificationMailer.send_notification(@dossier, @dossier.procedure.initiated_mail).deliver_now!
|
||||
end
|
||||
|
||||
flash.notice = 'Félicitations, votre demande a bien été enregistrée.'
|
||||
|
|
Loading…
Reference in a new issue