Use touch to record viewing annual report (#35296)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2025-07-09 08:04:00 +00:00
1 parent f7259f625f
commit fb6c22f5c2
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ class GeneratedAnnualReport < ApplicationRecord
end
def view!
update!(viewed_at: Time.now.utc)
touch(:viewed_at)
end
def account_ids