summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api/config.rst2
-rw-r--r--docs/narr/hooks.rst6
2 files changed, 5 insertions, 3 deletions
diff --git a/docs/api/config.rst b/docs/api/config.rst
index 38f809c7e..2b9d7bcef 100644
--- a/docs/api/config.rst
+++ b/docs/api/config.rst
@@ -74,6 +74,8 @@
.. automethod:: set_renderer_globals_factory
+ .. automethod:: set_view_mapper
+
.. automethod:: testing_securitypolicy
.. automethod:: testing_resources
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst
index 227db2f0f..7e3fe0a5c 100644
--- a/docs/narr/hooks.rst
+++ b/docs/narr/hooks.rst
@@ -606,9 +606,9 @@ A user might make use of these framework components like so:
config.add_handler('two', '/{action}/{id}', MyController)
serve(config.make_wsgi_app())
-The :meth:`pyramid.config.Configurator.set_default_mapper` method can be used
-to set a *default* view mapper (overriding the superdefault view mapper used
-by Pyramid itself).
+The :meth:`pyramid.config.Configurator.set_view_mapper` method can be used to
+set a *default* view mapper (overriding the superdefault view mapper used by
+Pyramid itself).
A *single* view registration can use a view mapper by passing the mapper as
the ``mapper`` argument to :meth:`~pyramid.config.Configuration.add_view`.