Routes
This module implements a routes based dispatcher.
none
A Routes Dispatcher
A dispatcher that uses the routes module to perform controller lookups for a url using pattern matching rules (connections).
See: http://routes.groovie.org/docs/ for more information on Routes.
If add_default_connection is True then a default connection of /{controller}/{action} will be added as part of the instantiation. Note that because Routes are order dependant this could obscure similar connections added at a later date, hence why it is disabled by default.
Connect a route to a controller
Supply a name for the route and then the route itself. Naming the route allows it to be referred to easily elsewhere in the system (e.g. for generating urls). The route is the url pattern you wish to map.
none