Module: Cms::Behaviors::FlushCacheOnChange

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

Defined Under Namespace

Modules: InstanceMethods, MacroMethods

Class Method Summary collapse

Class Method Details

.included(model_class) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/cms/behaviors/flush_cache_on_change.rb', line 4

def self.included(model_class)
  model_class.extend(MacroMethods)
  model_class.class_eval do
    def flush_cache_on_change?
      false
    end
  end
end