diff options
| author | Tres Seaver <tseaver@palladion.com> | 2009-07-20 13:37:09 +0000 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2009-07-20 13:37:09 +0000 |
| commit | a95805481a0fbaa9ef888751f55549245094cd08 (patch) | |
| tree | 706ded74bc2e3ff3add17b9b9a0ca8856897cc83 /docs | |
| parent | 7f05986f5040fc8581f0653ec3073052acae3e38 (diff) | |
| download | pyramid-a95805481a0fbaa9ef888751f55549245094cd08.tar.gz pyramid-a95805481a0fbaa9ef888751f55549245094cd08.tar.bz2 pyramid-a95805481a0fbaa9ef888751f55549245094cd08.zip | |
Fixed documentation bug showing wrong environment key for the ``matchdict``
produced by the matching route.
Thanks to leopay for the catch.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/urldispatch.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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' |
