lib/glue/sweeper.rb in nitro-0.27.0 vs lib/glue/sweeper.rb in nitro-0.28.0
- old
+ new
@@ -58,10 +58,10 @@
alias_method :expire_output, :expire_affected_output
# Expire affected cached fragments.
def expire_affected_fragment(name, options = {})
- Nitro::Caching::Fragments.store.delete(name, options)
+ Nitro::Caching::Fragments.cache.delete(name, options)
end
alias_method :expire_fragment, :expire_affected_fragment
end