Module: Cms::Behaviors::FlushCacheOnChange::InstanceMethods

Defined in:
lib/cms/behaviors/flush_cache_on_change.rb

Instance Method Summary collapse

Instance Method Details

#flush_cacheObject



25
26
27
28
29
# File 'lib/cms/behaviors/flush_cache_on_change.rb', line 25

def flush_cache
  if Cms.caching_enabled?
    Cms.flush_cache
  end
end