From a95805481a0fbaa9ef888751f55549245094cd08 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Mon, 20 Jul 2009 13:37:09 +0000 Subject: Fixed documentation bug showing wrong environment key for the ``matchdict`` produced by the matching route. Thanks to leopay for the catch. --- docs/narr/urldispatch.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index 7e3454a2a..0a6109ff9 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -351,7 +351,7 @@ The ``.models`` module referred to above might look like so: class Article(object): def __init__(self, environ): - self.__dict__.update(environ['repoze.bfg.matchdict']) + self.__dict__.update(environ['bfg.routes.matchdict']) def is_root(self): return self['article'] == 'root' -- cgit v1.2.3