feat(groupe instructeur mailer): do not notify group when instructeurs removed
This commit is contained in:
parent
bab8fac81e
commit
f6c4986e86
9 changed files with 0 additions and 78 deletions
|
@ -41,10 +41,6 @@ module Instructeurs
|
|||
GroupeInstructeurMailer
|
||||
.notify_removed_instructeur(groupe_instructeur, instructeur, current_user.email)
|
||||
.deliver_later
|
||||
|
||||
GroupeInstructeurMailer
|
||||
.notify_group_when_instructeurs_removed(groupe_instructeur, [instructeur], current_user.email)
|
||||
.deliver_later
|
||||
else
|
||||
flash[:alert] = "L’instructeur « #{instructeur.email} » n’est pas dans le groupe."
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue