Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added 'regex' property to config file. Still need example.

  • Loading branch information...
commit f5081173343a4f095e07e7c600b56f5675519d4b 1 parent f9eb94a
@zhouyaoji authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/dev_guide/intro/mojito_configuring.rst
View
4 docs/dev_guide/intro/mojito_configuring.rst
@@ -816,6 +816,10 @@ The table below describes the properties of the ``route`` object of ``routes.js
| | | | actions used in the ``call`` property. See also |
| | | | :ref:`parameterized_paths`. |
+----------------+----------------------+---------------+--------------------------------------------------------+
+| ``regex`` | string | No | A regular expression for matching a routing path, |
+| | | | which can then be mapped to the action in the ``call`` |
+| | | | property.
++----------------+----------------------+---------------+--------------------------------------------------------+
| ``verbs`` | array of strings | No | The HTTP methods allowed on the route path defined |
| | | | by ``path``. For example, to allow HTTP GET and |
| | | | POST calls to be made on the specified path, you |
Please sign in to comment.
Something went wrong with that request. Please try again.