diff --git a/app/controllers/UserController.php b/app/controllers/UserController.php index dadc708..01424b0 100644 --- a/app/controllers/UserController.php +++ b/app/controllers/UserController.php @@ -21,7 +21,7 @@ class UserController extends Controller{ { // $loader = new \Twig\Loader\FilesystemLoader(__DIR__.'/../views'); // $twig = new \Twig\Environment($loader, ['cache' => 'app/views/cache']); - echo $this->twig->render('userCreate.html'); + echo $this->twig->render('user_create.html.twig'); } public function actionAdd(): void @@ -84,7 +84,7 @@ class UserController extends Controller{ { // $loader = new \Twig\Loader\FilesystemLoader(__DIR__.'/../views'); // $twig = new \Twig\Environment($loader, ['cache' => 'app/views/cache']); - echo $this->twig->render('userUpdate.html'); + echo $this->twig->render('user_update.html.twig'); } public function actionEdit(): void diff --git a/composer.lock b/composer.lock index c85851c..31c2ea9 100644 --- a/composer.lock +++ b/composer.lock @@ -2006,5 +2006,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/views/user_create.html.twig b/views/user_create.html.twig index 4a83659..b69a254 100644 --- a/views/user_create.html.twig +++ b/views/user_create.html.twig @@ -1,4 +1,4 @@ -{% extends "mainLayout.html" %} +{% extends "main_layout.html.twig" %} {% block content %}
diff --git a/views/user_update.html.twig b/views/user_update.html.twig index 01f2ca2..4ea5ed3 100644 --- a/views/user_update.html.twig +++ b/views/user_update.html.twig @@ -1,4 +1,4 @@ -{% extends "mainLayout.html" %} +{% extends "main_layout.html.twig" %} {% block content %}