summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-09-23 01:47:10 -0700
committerChris McDonough <chrism@plope.com>2011-09-23 01:47:10 -0700
commitacefa30d7f2329acd545ab479fb983d988972f05 (patch)
tree247a666e7cda8568c6e81b126872b5ec47ad5a32
parent03ce311ef998239bb76c04baa3cdbe76cc3b3fcf (diff)
parent8fd6ba03e313b910acd60c10cb689382840febc0 (diff)
downloadpyramid-acefa30d7f2329acd545ab479fb983d988972f05.tar.gz
pyramid-acefa30d7f2329acd545ab479fb983d988972f05.tar.bz2
pyramid-acefa30d7f2329acd545ab479fb983d988972f05.zip
Merge pull request #284 from replaceafill/patch-1
resource_url call error in docs/narr/resources.rst
-rw-r--r--docs/narr/resources.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/resources.rst b/docs/narr/resources.rst
index 9335906a0..b8dc6d857 100644
--- a/docs/narr/resources.rst
+++ b/docs/narr/resources.rst
@@ -229,7 +229,7 @@ this:
.. code-block:: python
:linenos:
- url = request.resource_url(resource, request)
+ url = request.resource_url(resource)
The ``request`` in the above example is an instance of a :app:`Pyramid`
:term:`request` object.