Module: AbstractController::Caching::ClassMethods

Defined in:
actionpack/lib/abstract_controller/caching.rb

Instance Method Summary collapse

Instance Method Details

#view_cache_dependency(&dependency) ⇒ Object



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

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