Skip to content

Commit 41b8bf5

Browse files
committed
use the corrent array key for the template (ie _template)
1 parent 5e21514 commit 41b8bf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resolver/TemplateClassResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function getController(RouteObjectInterface $document, array &$defaults)
7373
return false;
7474
}
7575

76-
$defaults['template'] = $template;
76+
$defaults[RouteObjectInterface::TEMPLATE_NAME] = $template;
7777
return $this->genericController;
7878
}
7979

0 commit comments

Comments
 (0)