Module: Catche::Controller::Actions

Extended by:
ActiveSupport::Concern
Included in:
Catche::Controller
Defined in:
lib/catche/controller/actions.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#_save_fragment(name, options = {}) ⇒ Object



19
20
21
22
23
24
25
26
# File 'lib/catche/controller/actions.rb', line 19

def _save_fragment(name, options={})
  if self.class.catche?
    key = fragment_cache_key(name)
    Catche::Tag.tag_view! key, *catche_tags
  end

  super
end