rdv: rename twig view file

This commit is contained in:
nobohan 2021-09-20 13:38:49 +02:00
parent 5b81bffcf6
commit 3385cb2dda
2 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class CalendarController extends AbstractController
[$user, $accompanyingPeriod] = $this->getEntity($request);
if ($accompanyingPeriod instanceof AccompanyingPeriod) {
$view = '@ChillCalendar/Calendar/newAccompanyingCourse.html.twig';
$view = '@ChillCalendar/Calendar/newByAccompanyingCourse.html.twig';
}
// elseif ($user instanceof User) {
// $view = '@ChillCalendar/Calendar/newUser.html.twig';