File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ Take the following route, which combines several of these ideas::
97
97
// ...
98
98
99
99
$parameters = $matcher->match('/archive/2012-01');
100
- // array('controller' => 'showArchive', 'month' => 2012-01' ', '_route' => '...')
100
+ // array('controller' => 'showArchive', 'month' => ' 2012-01', '_route' => '...')
101
101
102
102
$parameters = $matcher->match('/archive/foo');
103
103
// throws ResourceNotFoundException
104
104
105
- In this case, the route is matched by ``/archive/2012/ 01 ``, because the ``{month} ``
105
+ In this case, the route is matched by ``/archive/2012- 01 ``, because the ``{month} ``
106
106
wildcard matches the regular expression wildcard given. However, ``/archive/foo ``
107
107
does *not * match, because "foo" fails the month wildcard.
108
108
You can’t perform that action at this time.
0 commit comments