mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 07:33:50 +00:00
Update template pathes to new syntax
This commit is contained in:
@@ -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]
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user