File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,10 +119,10 @@ the POST method and a secure connection::
119
119
120
120
.. tip ::
121
121
122
- If you want to match all urls which start with a certain path and end in a
122
+ If you want to match all urls which start with a certain path and end in an
123
123
arbitrary suffix you can use the following route definition::
124
124
125
- $route = new Route('/start/{suffix}', array('suffix' => '.*'));
125
+ $route = new Route('/start/{suffix}', array('suffix' => ''), array('suffix' => ' .*'));
126
126
127
127
128
128
Using Prefixes
@@ -300,4 +300,4 @@ automatically in the background if you want to use it. A basic example of the
300
300
301
301
If you use caching, the Routing component will compile new classes which
302
302
are saved in the ``cache_dir ``. This means your script must have write
303
- permissions for that location.
303
+ permissions for that location.
You can’t perform that action at this time.
0 commit comments