/** * Lists all root sections by navigation * * @return Response */ public function listAction() { $navigations = $this->navigationRepository->findHaveSections($this->getApp()->getId()); $withoutNavigation = $this->sectionRepository->findRootsWithoutNavigation($this->getApp()->getId()); return $this->render('UnifikSystemBundle:Backend/Section/Root:list.html.twig', array('navigations' => $navigations, 'withoutNavigation' => $withoutNavigation, 'managedApp' => $this->getApp())); }