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

@@ -25,6 +25,6 @@ class AddAPersonWidget implements WidgetInterface
array $context,
array $config
) {
return $env->render('ChillPersonBundle:Widget:homepage_add_a_person.html.twig');
return $env->render('@ChillPerson/Widget/homepage_add_a_person.html.twig');
}
}

View File

@@ -127,7 +127,7 @@ class PersonListWidget implements WidgetInterface
}
return $env->render(
'ChillPersonBundle:Widget:homepage_person_list.html.twig',
'@ChillPerson/Widget/homepage_person_list.html.twig',
[
'persons' => $persons,
'customFields' => $cfields,