findAll(); $groups = $groupRepository->findAll(); return $this->render('home/home.html.twig', [ 'usemenu' => true, 'usesidebar' => false, 'projects' => $projects, 'groups' => $groups, ]); } #[Route('/admin', name: 'app_admin')] public function admin(): Response { return $this->render('home/blank.html.twig', [ 'usemenu' => true, 'usesidebar' => true, ]); } #[Route('/user/etherpad/{id}', name: 'app_ehterpad')] public function etherpad(string $id, EtherpadService $etherpadService): Response { $padAccess = $etherpadService->preparePadAccess($this->getUser(), $id); return $this->redirect($padAccess['iframeUrl']); } }