| Class | Merb::Dispatcher |
| In: |
lib/merb-core/dispatch/dispatcher.rb
|
| Parent: | Object |
| DEFAULT_ERROR_TEMPLATE | = | File.expand_path(File.dirname(__FILE__) / 'exceptions.html') |
| use_mutex | [RW] |
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]
ControllerExceptions are rescued here and redispatched.
| rack_env<Rack::Environment>: | The rack environment, which is used to instantiate a Merb::Request |
| response<IO>: | An IO object to hold the response |
| Array[Merb::Controller, Symbol]: | An array containing the Merb::Controller and the action that was dispatched to. |