public function typeAction($type, $father = null, $region = null)
    {
        $layout = $this->manager->contentLayout($type, $father, $region, $this->canEdit());

        if ($layout) {
            return $this->render('ClarolineCoreBundle:home:layout.html.twig', $this->renderContent($layout));
        }

        return $this->render('ClarolineCoreBundle:home:error.html.twig', ['path' => $type]);
    }