summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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 5823abb04..0d7eee7c9 100644
--- a/docs/narr/urldispatch.rst
+++ b/docs/narr/urldispatch.rst
@@ -1146,7 +1146,7 @@ Then add an event subscriber in your startup configuration:
.. code-block:: python
:linenos:
- config.add_subscriber('mypackage.run.handle_teardown',
+ config.add_subscriber('mypackage.handle_teardown',
'pyramid.events.NewRequest')
Registering a handle_teardown subscriber will cause the DBSession to be