diff --git a/src/Controller.php b/src/Controller.php index 35cf6db3b..ccb77a3d8 100644 --- a/src/Controller.php +++ b/src/Controller.php @@ -64,7 +64,7 @@ private function findLayoutFile(?string $file): ?string return $file; } - return $file . '.' . $this->view->defaultExtension; + return $file . '.' . $this->view->getDefaultExtension(); } abstract protected function getId(): string;