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

@@ -39,7 +39,7 @@ class StatusController extends AbstractController
return $this->redirectToRoute('chill_event_admin_status', ['id' => $entity->getId()]);
}
return $this->render('ChillEventBundle:Status:new.html.twig', [
return $this->render('@ChillEvent/Status/new.html.twig', [
'entity' => $entity,
'form' => $form->createView(),
]);
@@ -84,7 +84,7 @@ class StatusController extends AbstractController
$editForm = $this->createEditForm($entity);
$deleteForm = $this->createDeleteForm($id);
return $this->render('ChillEventBundle:Status:edit.html.twig', [
return $this->render('@ChillEvent/Status/edit.html.twig', [
'entity' => $entity,
'edit_form' => $editForm->createView(),
'delete_form' => $deleteForm->createView(),
@@ -100,7 +100,7 @@ class StatusController extends AbstractController
$entities = $em->getRepository(\Chill\EventBundle\Entity\Status::class)->findAll();
return $this->render('ChillEventBundle:Status:index.html.twig', [
return $this->render('@ChillEvent/Status/index.html.twig', [
'entities' => $entities,
]);
}
@@ -113,7 +113,7 @@ class StatusController extends AbstractController
$entity = new Status();
$form = $this->createCreateForm($entity);
return $this->render('ChillEventBundle:Status:new.html.twig', [
return $this->render('@ChillEvent/Status/new.html.twig', [
'entity' => $entity,
'form' => $form->createView(),
]);
@@ -134,7 +134,7 @@ class StatusController extends AbstractController
$deleteForm = $this->createDeleteForm($id);
return $this->render('ChillEventBundle:Status:show.html.twig', [
return $this->render('@ChillEvent/Status/show.html.twig', [
'entity' => $entity,
'delete_form' => $deleteForm->createView(),
]);
@@ -163,7 +163,7 @@ class StatusController extends AbstractController
return $this->redirectToRoute('chill_event_admin_status', ['id' => $id]);
}
return $this->render('ChillEventBundle:Status:edit.html.twig', [
return $this->render('@ChillEvent/Status/edit.html.twig', [
'entity' => $entity,
'edit_form' => $editForm->createView(),
'delete_form' => $deleteForm->createView(),