Skip to content

Commit 1ecae05

Browse files
committed
Merge pull request #225 from hbraune/patch-1
Update match.rst
2 parents b048546 + c8a7abb commit 1ecae05

File tree

1 file changed

+2
-2
lines changed
  • Resources/doc/reference/configuration

1 file changed

+2
-2
lines changed

Resources/doc/reference/configuration/match.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@ Route name regular expression. To match a single route:
103103
104104
match:
105105
attributes:
106-
route: ^articles_index$
106+
_route: ^articles_index$
107107
108108
To match multiple routes:
109109

110110
.. code-block:: yaml
111111
112112
match:
113113
attributes:
114-
route: ^articles.*|news$
114+
_route: ^articles.*|news$
115115
116116
Note that even for the request attributes, your criteria are interpreted as
117117
regular expressions.

0 commit comments

Comments
 (0)