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