log changer_groupe_instructeur

This commit is contained in:
Christophe Robillard 2020-02-26 10:28:37 +01:00
parent e0f4957dfd
commit 2bd6f01009
3 changed files with 8 additions and 0 deletions

View file

@ -654,6 +654,7 @@ class Dossier < ApplicationRecord
DossierMailer.notify_groupe_instructeur_changed(instructeur, self).deliver_later
end
end
log_dossier_operation(user, :changer_groupe_instructeur, self)
end
end

View file

@ -1,5 +1,6 @@
class DossierOperationLog < ApplicationRecord
enum operation: {
changer_groupe_instructeur: 'changer_groupe_instructeur',
passer_en_instruction: 'passer_en_instruction',
repasser_en_construction: 'repasser_en_construction',
repasser_en_instruction: 'repasser_en_instruction',