Update template pathes to new syntax

This commit is contained in:
2023-10-02 13:56:22 +02:00
parent 294aaf5bed
commit bad302f512
13 changed files with 30 additions and 30 deletions

View File

@@ -68,7 +68,7 @@ class DocumentAccompanyingCourseController extends AbstractController
}
return $this->render(
'ChillDocStoreBundle:AccompanyingCourseDocument:delete.html.twig',
'@ChillDocStore/AccompanyingCourseDocument/delete.html.twig',
[
'document' => $document,
'delete_form' => $form->createView(),
@@ -109,7 +109,7 @@ class DocumentAccompanyingCourseController extends AbstractController
}
return $this->render(
'ChillDocStoreBundle:AccompanyingCourseDocument:edit.html.twig',
'@ChillDocStore/AccompanyingCourseDocument/edit.html.twig',
[
'document' => $document,
'form' => $form->createView(),
@@ -157,7 +157,7 @@ class DocumentAccompanyingCourseController extends AbstractController
$this->addFlash('error', $this->translator->trans('This form contains errors'));
}
return $this->render('ChillDocStoreBundle:AccompanyingCourseDocument:new.html.twig', [
return $this->render('@ChillDocStore/AccompanyingCourseDocument/new.html.twig', [
'document' => $document,
'form' => $form->createView(),
'accompanyingCourse' => $course,
@@ -172,7 +172,7 @@ class DocumentAccompanyingCourseController extends AbstractController
$this->denyAccessUnlessGranted(AccompanyingCourseDocumentVoter::SEE_DETAILS, $document);
return $this->render(
'ChillDocStoreBundle:AccompanyingCourseDocument:show.html.twig',
'@ChillDocStore/AccompanyingCourseDocument/show.html.twig',
['document' => $document, 'accompanyingCourse' => $course]
);
}