summaryrefslogtreecommitdiff
path: root/repoze/bfg/view.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-24 04:11:09 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-24 04:11:09 +0000
commit864e84f0e01ccd8bf408335b37562f9ca3d6e35f (patch)
treec467986d0bebc7ead477f66c16b727a607f3ce02 /repoze/bfg/view.py
parentb93d193e3b16dde94b0ca2e5478ec76afbdd5383 (diff)
downloadpyramid-864e84f0e01ccd8bf408335b37562f9ca3d6e35f.tar.gz
pyramid-864e84f0e01ccd8bf408335b37562f9ca3d6e35f.tar.bz2
pyramid-864e84f0e01ccd8bf408335b37562f9ca3d6e35f.zip
Roles.
Diffstat (limited to 'repoze/bfg/view.py')
-rw-r--r--repoze/bfg/view.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/repoze/bfg/view.py b/repoze/bfg/view.py
index d1c69205e..61286f46c 100644
--- a/repoze/bfg/view.py
+++ b/repoze/bfg/view.py
@@ -539,11 +539,12 @@ def append_slash_notfound_view(context, request):
<notfound
view="repoze.bfg.view.append_slash_notfound_view"/>
- Or use the :meth:`repoze.bfg.configuration.Configurator.notfound`
+ Or use the
+ :meth:`repoze.bfg.configuration.Configurator.set_notfound_view`
method if you don't use ZCML::
from repoze.bfg.view import append_slash_notfound_view
- config.notfound(append_slash_notfound_view)
+ config.set_notfound_view(append_slash_notfound_view)
See also :ref:`changing_the_notfound_view`.