Revision f39bfd77
Added by Ohad Levy almost 12 years ago
- ID f39bfd77b58289c919444412d63ed09e451da561
app/controllers/topbar_sweeper.rb | ||
---|---|---|
|
||
private
|
||
def expire_cache_for(record)
|
||
expire_fragment("tabs_and_title_records-#{User.current.id}")
|
||
expire_fragment("tabs_and_title_records-#{User.current.id}") if User.current
|
||
end
|
||
end
|
Also available in: Unified diff
minor cleanups for cache invalidations