Module: AbstractController::Caching::ClassMethods

Defined in:
lib/abstract_controller/caching.rb

Instance Method Summary collapse

Instance Method Details

#view_cache_dependency(&dependency) ⇒ Object



43
44
45
# File 'lib/abstract_controller/caching.rb', line 43

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