mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-10 00:34:58 +00:00
Update path to twig template with new syntax
This commit is contained in:
@@ -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]
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user