Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 77ce997

Browse files
committed
Merge pull request #722 from yceruto/patch-2
[Routing] Adding missing parameter
2 parents 0e1f9db + d63314b commit 77ce997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/routing/nested_matcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ following methods::
6767
}
6868

6969
foreach ($routes as $route) {
70-
$collection->add($route);
70+
$collection->add($route->getName(), $route);
7171
}
7272

7373
return $collection;

0 commit comments

Comments
 (0)