correctif(instructeurs/avis_controller#remind): ETQ instructeur, je peux relancer une demande d'avis meme si celui ci contient une question
This commit is contained in:
parent
6a2d2ae0a7
commit
1ae40f1a22
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class Avis < ApplicationRecord
|
|||
|
||||
def remind_by!(revocator)
|
||||
return false if !remindable_by?(revocator) || answer.present?
|
||||
update!(reminded_at: Time.zone.now)
|
||||
update_column(:reminded_at, Time.zone.now)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue