Class ActionController::Dispatcher
In: lib/action_controller/dispatcher.rb
Parent: Object

Dispatches requests to the appropriate controller and takes care of reloading the app after each request when Dependencies.load? is true.

Methods

Included Modules

ActiveSupport::Callbacks

Public Class methods

DEPRECATE: Remove arguments, since they are only used by CGI

Add a preparation callback. Preparation callbacks are run before every request in development mode, and before the first request in production mode.

An optional identifier may be supplied for the callback. If provided, to_prepare may be called again with the same identifier to replace the existing callback. Passing an identifier is a suggested practice if the code adding a preparation block may be reloaded.

Public Instance methods

DEPRECATE: Remove CGI support

[Validate]