rename Dossier#modifier_annotations!

give a more accurate name to the method

Co-authored-by: clemkeirua <clement@keiruaprod.fr>
This commit is contained in:
Christophe Robillard 2020-07-28 14:22:56 +02:00
parent c772c3454c
commit 03e3e8fb1c
2 changed files with 2 additions and 2 deletions

View file

@ -615,7 +615,7 @@ class Dossier < ApplicationRecord
end
end
def modifier_annotations!(instructeur)
def log_modifier_annotations!(instructeur)
champs_private.filter(&:value_previously_changed?).each do |champ|
log_dossier_operation(instructeur, :modifier_annotation, champ)
end