public function resourceDesktop()
    {
        $resourceTypes = $this->em->getRepository('ClarolineCoreBundle:Resource\ResourceType')->findAll();
        $resourceActions = $this->em->getRepository('ClarolineCoreBundle:Resource\MenuAction')
            ->findByResourceType(null);

        return $this->templating->render(
            'ClarolineCoreBundle:Tool\desktop\resource_manager:resources.html.twig',
            array(
                'resourceTypes' => $resourceTypes,
                'resourceActions' => $resourceActions,
                'maxPostSize' => ini_get('post_max_size'),
                'resourceZoom' => $this->getZoom()
            )
        );
    }