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

@@ -75,7 +75,7 @@ class DocumentPersonController extends AbstractController
}
return $this->render(
'ChillDocStoreBundle:PersonDocument:delete.html.twig',
'@ChillDocStore/PersonDocument/delete.html.twig',
[
'document' => $document,
'delete_form' => $form->createView(),
@@ -134,7 +134,7 @@ class DocumentPersonController extends AbstractController
$this->eventDispatcher->dispatch($event, PrivacyEvent::PERSON_PRIVACY_EVENT);
return $this->render(
'ChillDocStoreBundle:PersonDocument:edit.html.twig',
'@ChillDocStore/PersonDocument/edit.html.twig',
[
'document' => $document,
'form' => $form->createView(),
@@ -184,7 +184,7 @@ class DocumentPersonController extends AbstractController
$this->addFlash('error', $this->translator->trans('This form contains errors'));
}
return $this->render('ChillDocStoreBundle:PersonDocument:new.html.twig', [
return $this->render('@ChillDocStore/PersonDocument/new.html.twig', [
'document' => $document,
'form' => $form->createView(),
'person' => $person,
@@ -207,7 +207,7 @@ class DocumentPersonController extends AbstractController
$this->eventDispatcher->dispatch($event, PrivacyEvent::PERSON_PRIVACY_EVENT);
return $this->render(
'ChillDocStoreBundle:PersonDocument:show.html.twig',
'@ChillDocStore/PersonDocument/show.html.twig',
['document' => $document, 'person' => $person]
);
}