mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 13:03:50 +00:00
Update path to twig template with new syntax
This commit is contained in:
@@ -89,7 +89,7 @@ class PersonAddressController extends AbstractController
|
||||
}
|
||||
}
|
||||
|
||||
return $this->render('ChillPersonBundle:Address:new.html.twig', [
|
||||
return $this->render('@ChillPerson/Address/new.html.twig', [
|
||||
'person' => $person,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -116,7 +116,7 @@ class PersonAddressController extends AbstractController
|
||||
|
||||
$form = $this->createEditForm($person, $address);
|
||||
|
||||
return $this->render('ChillPersonBundle:Address:edit.html.twig', [
|
||||
return $this->render('@ChillPerson/Address/edit.html.twig', [
|
||||
'person' => $person,
|
||||
'address' => $address,
|
||||
'form' => $form->createView(),
|
||||
@@ -140,7 +140,7 @@ class PersonAddressController extends AbstractController
|
||||
'You are not allowed to edit this person.'
|
||||
);
|
||||
|
||||
return $this->render('ChillPersonBundle:Address:list.html.twig', [
|
||||
return $this->render('@ChillPerson/Address/list.html.twig', [
|
||||
'person' => $person,
|
||||
]);
|
||||
}
|
||||
@@ -166,7 +166,7 @@ class PersonAddressController extends AbstractController
|
||||
|
||||
$form = $this->createCreateForm($person, $address);
|
||||
|
||||
return $this->render('ChillPersonBundle:Address:new.html.twig', [
|
||||
return $this->render('@ChillPerson/Address/new.html.twig', [
|
||||
'person' => $person,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
@@ -218,7 +218,7 @@ class PersonAddressController extends AbstractController
|
||||
}
|
||||
}
|
||||
|
||||
return $this->render('ChillPersonBundle:Address:edit.html.twig', [
|
||||
return $this->render('@ChillPerson/Address/edit.html.twig', [
|
||||
'person' => $person,
|
||||
'address' => $address,
|
||||
'form' => $form->createView(),
|
||||
|
Reference in New Issue
Block a user