Commit fb24c74
committed
minor symfony#6748 Fix web/front.php (ranqiangjun)
This PR was merged into the master branch.
Discussion
----------
Fix web/front.php
## $controller always return false.
$controller = $controllerResolver->getController($request);
$arguments = $argumentResolver->getArguments($request, $controller);
The two lines before the `try ... catch` should run after:
$request->attributes->add($matcher->match($request->getPathInfo()));
The three lines already exist inside the `try ... catch` which works fine and properly after removed those two lines.
([http://symfony.com/doc/master/create_framework/http_kernel_controller_resolver.html](http://symfony.com/doc/master/create_framework/http_kernel_controller_resolver.html))
Commits
-------
86bb5ac Fix web/front.php1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | 188 | | |
192 | 189 | | |
193 | 190 | | |
| |||
0 commit comments