Notify new draft after dossier commit
This commit is contained in:
parent
f6ee062f27
commit
dd7840cdc4
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ class Dossier < ApplicationRecord
|
||||||
|
|
||||||
after_save :send_dossier_received
|
after_save :send_dossier_received
|
||||||
after_save :send_web_hook
|
after_save :send_web_hook
|
||||||
after_create :send_draft_notification_email
|
after_save_commit :send_draft_notification_email
|
||||||
|
|
||||||
validates :user, presence: true
|
validates :user, presence: true
|
||||||
validates :individual, presence: true, if: -> { revision.procedure.for_individual? }
|
validates :individual, presence: true, if: -> { revision.procedure.for_individual? }
|
||||||
|
|
Loading…
Reference in a new issue