summaryrefslogtreecommitdiff
path: root/docs/zcml
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-11-20 15:56:58 -0500
committerChris McDonough <chrism@plope.com>2010-11-20 15:56:58 -0500
commitdf3f64ac77304db5d95a1cd33f07320a458b278a (patch)
treea22b9b6ce15a6de8cf5de16a51bdf32950c60267 /docs/zcml
parent35ce2adb609bfb3db346bc8cc937d13a0d2dddcd (diff)
downloadpyramid-df3f64ac77304db5d95a1cd33f07320a458b278a.tar.gz
pyramid-df3f64ac77304db5d95a1cd33f07320a458b278a.tar.bz2
pyramid-df3f64ac77304db5d95a1cd33f07320a458b278a.zip
convert stray references to colon routing syntax to squiggly syntax
Diffstat (limited to 'docs/zcml')
-rw-r--r--docs/zcml/route.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/zcml/route.rst b/docs/zcml/route.rst
index ed849e3c1..c3bec72df 100644
--- a/docs/zcml/route.rst
+++ b/docs/zcml/route.rst
@@ -10,7 +10,7 @@ Attributes
~~~~~~~~~~
``pattern``
- The pattern of the route e.g. ``ideas/:idea``. This attribute is
+ The pattern of the route e.g. ``ideas/{idea}``. This attribute is
required. See :ref:`route_pattern_syntax` for information
about the syntax of route patterns.
@@ -51,9 +51,9 @@ Attributes
The syntax of the ``traverse`` argument is the same as it is for
``pattern``. For example, if the ``pattern`` provided to the
- ``route`` directive is ``articles/:article/edit``, and the
+ ``route`` directive is ``articles/{article}/edit``, and the
``traverse`` argument provided to the ``route`` directive is
- ``/:article``, when a request comes in that causes the route to
+ ``/{article}``, when a request comes in that causes the route to
match in such a way that the ``article`` match value is '1' (when
the request URI is ``/articles/1/edit``), the traversal path will be
generated as ``/1``. This means that the root object's