method
before
rails latest stable - Class:
ActionController::Caching::Sweeper
before(controller)public
No documentation available.
# File actionpack/lib/action_controller/caching/sweeping.rb, line 57
def before(controller)
self.controller = controller
callback(:before) if controller.perform_caching
true # before method from sweeper should always return true
end