Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8804bb1

Browse files
committed
Merge pull request symfony#2 from uwej711/patch-1
template must be _template
2 parents 5797553 + 71af85e commit 8804bb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resolver/ExplicitTemplateResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct($genericController)
3939
*/
4040
public function getController(RouteObjectInterface $document, array &$defaults)
4141
{
42-
if (! isset($defaults['template'])) {
42+
if (! isset($defaults[RouteObjectInterface::TEMPLATE_NAME])) {
4343
return false;
4444
}
4545

0 commit comments

Comments
 (0)