Browse Source

Fix quote cache invalidation (#37592)

pull/1371/head
Claire 3 months ago committed by Misty De Meo
parent
commit
22b111a8fe
No known key found for this signature in database
GPG Key ID: 76CF846A2F674B2C
  1. 2
      app/models/quote.rb

2
app/models/quote.rb

@ -49,7 +49,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!

Loading…
Cancel
Save