Commit ba9dd086e1e507b07478d5650ea7dd64d697deec
1 parent
a6860208
Exists in
master
and in
1 other branch
Always cache attributes on problem when notice is created
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/notice.rb
@@ -100,7 +100,7 @@ class Notice | @@ -100,7 +100,7 @@ class Notice | ||
100 | 100 | ||
101 | 101 | ||
102 | def cache_attributes_on_problem | 102 | def cache_attributes_on_problem |
103 | - problem.cache_notice_attributes(self) if problem.notices_count == 1 | 103 | + problem.cache_notice_attributes(self) |
104 | end | 104 | end |
105 | 105 | ||
106 | def sanitize | 106 | def sanitize |