summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-02-18 19:00:45 -0500
committerChris McDonough <chrism@plope.com>2012-02-18 19:00:45 -0500
commit95129f178f674a9f8def9aa853bacbc2b8e8f0d3 (patch)
tree88d1ec0585afd22ff925cec357a3ccf79c818161 /docs
parent63c969d03564d31a2e1d691c0696e6705e297dbe (diff)
downloadpyramid-95129f178f674a9f8def9aa853bacbc2b8e8f0d3.tar.gz
pyramid-95129f178f674a9f8def9aa853bacbc2b8e8f0d3.tar.bz2
pyramid-95129f178f674a9f8def9aa853bacbc2b8e8f0d3.zip
dont mention arg by name
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/hooks.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst
index a782b9ec6..eaccc14a3 100644
--- a/docs/narr/hooks.rst
+++ b/docs/narr/hooks.rst
@@ -495,7 +495,7 @@ For example:
from myapp.traversal import ResourceURLAdapter
from myapp.resources import MyRoot
- config.add_resource_url_adapter(ResourceURLAdapter, resource_iface=MyRoot)
+ config.add_resource_url_adapter(ResourceURLAdapter, MyRoot)
In the above example, the ``myapp.traversal.ResourceURLAdapter`` class will
be used to provide services to :meth:`~pyramid.request.Request.resource_url`