Module: AbstractController::Caching::ClassMethods

Defined in:
lib/abstract_controller/caching.rb

Instance Method Summary collapse

Instance Method Details

#view_cache_dependency(&dependency) ⇒ Object



49
50
51
# File 'lib/abstract_controller/caching.rb', line 49

def view_cache_dependency(&dependency)
  self._view_cache_dependencies += [dependency]
end