Sha256: 66c9d634e14727dfb09d6a48d1078cf694d59bbe2f40376b7c7deb39c3248b33
Contents?: true
Size: 264 Bytes
Versions: 3
Compression:
Stored size: 264 Bytes
Contents
class Interpret::BaseSweeper < ActionController::Caching::Sweeper observe Interpret::Translation def after_update(translation) expire_cache(translation) end protected # Implement user's custom expire logic def expire_cache(translation) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
interpret-0.1.3 | app/sweepers/interpret/base_sweeper.rb |
interpret-0.1.2 | app/sweepers/interpret/base_sweeper.rb |
interpret-0.1.1 | app/sweepers/interpret/base_sweeper.rb |