Update path to twig template with new syntax

This commit is contained in:
2023-07-28 12:16:50 +02:00
parent 55b8502896
commit e839b03cc9
111 changed files with 220 additions and 223 deletions

View File

@@ -68,7 +68,7 @@ class DocumentCategoryController extends AbstractController
'idInsideBundle' => $documentCategory->getIdInsideBundle(), ]);
}
return $this->render('ChillDocStoreBundle:DocumentCategory:edit.html.twig', [
return $this->render('@ChillDocStore/DocumentCategory/edit.html.twig', [
'document_category' => $documentCategory,
'form' => $form->createView(),
]);
@@ -83,7 +83,7 @@ class DocumentCategoryController extends AbstractController
$categories = $em->getRepository(DocumentCategory::class)->findAll();
return $this->render(
'ChillDocStoreBundle:DocumentCategory:index.html.twig',
'@ChillDocStore/DocumentCategory/index.html.twig',
[
'document_categories' => $categories,
]
@@ -122,7 +122,7 @@ class DocumentCategoryController extends AbstractController
return $this->redirectToRoute('document_category_index');
}
return $this->render('ChillDocStoreBundle:DocumentCategory:new.html.twig', [
return $this->render('@ChillDocStore/DocumentCategory/new.html.twig', [
'document_category' => $documentCategory,
'form' => $form->createView(),
]);
@@ -141,7 +141,7 @@ class DocumentCategoryController extends AbstractController
);
return $this->render(
'ChillDocStoreBundle:DocumentCategory:show.html.twig',
'@ChillDocStore/DocumentCategory/show.html.twig',
['document_category' => $documentCategory]
);
}