mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
Update path to twig template with new syntax
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user