diff options
Diffstat (limited to 'docs/whatsnew-1.3.rst')
| -rw-r--r-- | docs/whatsnew-1.3.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst index fc6785f0a..f55ac88a6 100644 --- a/docs/whatsnew-1.3.rst +++ b/docs/whatsnew-1.3.rst @@ -170,6 +170,18 @@ Minor Feature Additions ZCML :ref:`view_directive` directive. See the documentation for those APIs for more inforamtion. +- New argument to + :class:`repoze.bfg.configuration.Configurator.add_route` and the + ZCML ``route`` directive: ``traverse``. If you would like to cause + the :term:`context` to be something other than the :term:`root` + object when this route matches, you can spell a traversal pattern as + the ``traverse`` argument. This traversal pattern will be used as + the traversal path: traversal will begin at the root object implied + by this route (either the global root, or the object returned by the + ``factory`` associated with this route). See + :class:`repoze.bfg.configuration.Configurator.add_route` for more + information (the ``traverse`` argument). + Backwards Incompatibilities --------------------------- |
