about summary refs log tree commit diff
path: root/app/models/report_note.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/report_note.rb')
-rw-r--r--app/models/report_note.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/report_note.rb b/app/models/report_note.rb
index 3d12cf7b6..6d9dec80a 100644
--- a/app/models/report_note.rb
+++ b/app/models/report_note.rb
@@ -13,7 +13,7 @@
 
 class ReportNote < ApplicationRecord
   belongs_to :account
-  belongs_to :report, inverse_of: :notes
+  belongs_to :report, inverse_of: :notes, touch: true
 
   scope :latest, -> { reorder('created_at ASC') }