Class

Dispatcher

Extends:

There's no documentation for this item.

Constants
DEFAULT_ERROR_TEMPLATE
Public Methods
handle This is where we grab the incoming request REQUEST_URI and use that in the merb RouteMatcher to determine which controller and method to run. Returns a 2 element tuple of: [controller, action]
use_mutex=
Private Methods
controller_exception Wraps any non-ControllerException errors in an InternalServerError ready for displaying over HTTP
dispatch_action setup the controller and call the chosen action
dispatch_default_exception if no custom actions are available to render an exception then the errors will end up here for processing
dispatch_exception Re-route the current request to the Exception controller if it is available, and try to render the exception nicely if it is not available then just render a simple text error
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.