mailers: streamline the NotificationMailer
Notifications are now only for demarche-templated emails.
This commit is contained in:
parent
1d1a15bf70
commit
e5303fd986
10 changed files with 49 additions and 33 deletions
|
@ -48,7 +48,7 @@ class Commentaire < ApplicationRecord
|
|||
end
|
||||
|
||||
def notify_user
|
||||
NotificationMailer.new_answer(dossier).deliver_later
|
||||
DossierMailer.notify_new_answer(dossier).deliver_later
|
||||
end
|
||||
|
||||
def is_virus_free?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue