summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-05-31 21:47:24 +0000
committerChris McDonough <chrism@agendaless.com>2009-05-31 21:47:24 +0000
commitae84c6b33efdcf37f453967384cacc264ec877d9 (patch)
tree2c62f5b18042ce08d33709e289ce2f058ea4bf70 /docs
parent59d1608a0613c6edc4123c6f0bda5b58a392a644 (diff)
downloadpyramid-ae84c6b33efdcf37f453967384cacc264ec877d9.tar.gz
pyramid-ae84c6b33efdcf37f453967384cacc264ec877d9.tar.bz2
pyramid-ae84c6b33efdcf37f453967384cacc264ec877d9.zip
- The ``route`` ZCML directive now accepts ``request_type`` as an
alias for its ``condition_method`` argument for symmetry with the ``view`` directive.
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/urldispatch.rst11
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst
index d43a344f2..f19faa031 100644
--- a/docs/narr/urldispatch.rst
+++ b/docs/narr/urldispatch.rst
@@ -122,10 +122,17 @@ filter
A Python dotted-path name to a Routes `filter function
<http://routes.groovie.org/manual.html#filter-functions>`_.
-condition_method
+request_type
The name of the HTTP method used as the Routes `condition method
- <http://routes.groovie.org/manual.html#conditions>`_.
+ <http://routes.groovie.org/manual.html#conditions>`_. A string,
+ e.g. ``GET`` or ``POST``. Note that :term:`interface` references
+ don't work here as they do in the ``view`` decorator or ``bfg_view``
+ ZCML directive. Only strings representing an HTTP method will work.
+
+condition_method
+
+ An alias for the ``request_type`` attribute.
condition_subdomain