summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-07-12 00:36:12 -0400
committerChris McDonough <chrism@plope.com>2011-07-12 00:36:12 -0400
commite4770d391bd87c5d6164affb1a2f79b77b35b58b (patch)
tree7b251710383f1d64e0aec35e0157c4e3f73516f3 /docs
parent321e34669f0b9119894cd1ee8c115361deba29f6 (diff)
downloadpyramid-e4770d391bd87c5d6164affb1a2f79b77b35b58b.tar.gz
pyramid-e4770d391bd87c5d6164affb1a2f79b77b35b58b.tar.bz2
pyramid-e4770d391bd87c5d6164affb1a2f79b77b35b58b.zip
fix sample
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 779a884fb..52311682e 100644
--- a/docs/narr/urldispatch.rst
+++ b/docs/narr/urldispatch.rst
@@ -119,7 +119,7 @@ that references ``myroute`` as a ``route_name`` parameter:
@view_config(route_name='myroute')
def myview(request):
- return Response('OK)
+ return Response('OK')
THe above combination of ``add_route`` and ``scan`` is completely equivalent
to using the previous combination of ``add_route`` and ``add_view``.