public function indexAction()
    {
        $this->isAllowed('BUSINESS_VIEW_ROLE');

        $em = $this->getDoctrine()->getManager();

        $entities = $em->getRepository('CanalTPSamCoreBundle:Role')->findByIsEditable(true);

        return $this->render('CanalTPSamEcoreSecurityBundle:Role:index.html.twig', array(
            'entities' => $entities,
        ));
    }
public function indexAction()
    {
        $this->isAllowed('BUSINESS_VIEW_ROLE');

        $em = $this->getDoctrine()->getManager();

        $entities = $em->getRepository('CanalTPSamCoreBundle:Role')->findByIsEditable(true);

        return $this->render('CanalTPSamEcoreSecurityBundle:Role:index.html.twig', array(
            'entities' => $entities,
        ));
    }
public function indexAction ( ) { $ this -> isAllowed ( 'BUSINESS_VIEW_ROLE' ) ; $ em = $ this -> getDoctrine ( ) -> getManager ( ) ; $ entities = $ em -> getRepository ( 'CanalTPSamCoreBundle:Role' ) -> findByIsEditable ( true ) ; return $ this -> render ( 'CanalTPSamEcoreSecurityBundle:Role:index.html.twig' , array ( 'entities' => $ entities , ) ) ; }
Lists all Role entities.
Lists all Role entities .