Create internal and external animators

This commit is contained in:
2025-07-02 17:55:00 +02:00
parent 4c3befe489
commit 60d107b541
10 changed files with 113 additions and 200 deletions

View File

@@ -204,7 +204,7 @@ final class EventController extends AbstractController
$this->addFlash('success', $this->translator
->trans('The event was created'));
return $this->redirectToRoute('chill_event__event_show', ['event_id' => $entity->getId()]);
return $this->redirectToRoute('chill_event__event_show', ['id' => $entity->getId()]);
}
$entity_array = $this->serializer->normalize($entity, 'json', ['groups' => 'read']);
@@ -310,7 +310,7 @@ final class EventController extends AbstractController
$this->addFlash('success', $this->translator->trans('The event was updated'));
return $this->redirectToRoute('chill_event__event_show', ['event_id' => $event_id]);
return $this->redirectToRoute('chill_event__event_show', ['id' => $event_id]);
}
return $this->render('@ChillEvent/Event/edit.html.twig', [