Module: AbstractController::Caching::ClassMethods

Defined in:
lib/abstract_controller/caching.rb

Instance Method Summary collapse

Instance Method Details

#view_cache_dependency(&dependency) ⇒ Object



47
48
49
# File 'lib/abstract_controller/caching.rb', line 47

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