Fix quote cache invalidation (#37592)
This commit is contained in:
1 parent
93bda9c76d
commit
d05df5c197
1 file changed
+1
-1
+1
-1
@@ -48,7 +48,7 @@ class Quote < ApplicationRecord
|
||||
def accept!
|
||||
update!(state: :accepted)
|
||||
|
||||
reset_parent_cache! if attribute_changed?(:state)
|
||||
reset_parent_cache! if attribute_previously_changed?(:state)
|
||||
end
|
||||
|
||||
def reject!
|
||||
|
||||
Reference in new issue
Block a user