/** * Runs the main back end controller. * * @return Response * * @Route("", name="contao_backend") */ public function mainAction() { $this->container->get('contao.framework')->initialize(); $controller = new BackendMain(); return $controller->run(); }