summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2009-07-20 13:37:09 +0000
committerTres Seaver <tseaver@palladion.com>2009-07-20 13:37:09 +0000
commita95805481a0fbaa9ef888751f55549245094cd08 (patch)
tree706ded74bc2e3ff3add17b9b9a0ca8856897cc83 /docs
parent7f05986f5040fc8581f0653ec3073052acae3e38 (diff)
downloadpyramid-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.rst2
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'