method

before

rails latest stable - Class: ActionController::Caching::Sweeper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

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