From 333bd06861e55f97dfcaeebff100657734829add Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 24 Jan 2010 08:45:35 +0000 Subject: Merge reversepolarity branch. --- docs/zcml/route.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/zcml') diff --git a/docs/zcml/route.rst b/docs/zcml/route.rst index bb842819d..169252d77 100644 --- a/docs/zcml/route.rst +++ b/docs/zcml/route.rst @@ -203,6 +203,14 @@ Attributes .. note:: This feature is new as of :mod:`repoze.bfg` 1.1. +``use_global_views`` + When a request matches this route, and view lookup cannot find a view + which has a 'route_name' predicate argument that matches the route, + try to fall back to using a view that otherwise matches the context, + request, and view name (but does not match the route name predicate). + + .. note:: This feature is new as of :mod:`repoze.bfg` 1.2. + Alternatives ~~~~~~~~~~~~ -- cgit v1.2.3