fix create
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user