.. _urldispatch_module:
:mod:`repoze.bfg.urldispatch`
=============================
.. automodule:: repoze.bfg.urldispatch
.. autoclass:: RoutesMapper
:members:
You can configure the ``RoutesModelTraverser`` into your application's
configure.zcml like so::
An example of configuring a view that is willing to handle this sort
of dispatch::
This view will be called with its context as a model with attributes
matching the Routes routing dictionary associated with the request.