src/PN/Bundle/UserBundle/Controller/Administration/UserController.php
/**
     * Displays a form to create a new User entity.
     *
     * @Route("/", name="user_index", methods={"GET"})
     */
Displays a form to create a new User entity.
Displays a form to create a new User entity .
public function indexAction() {
        $this->denyAccessUnlessGranted('ROLE_ADMIN');
        return $this->render('user/admin/user/index.html.twig');
    }
public function indexAction ( ) { $ this -> denyAccessUnlessGranted ( 'ROLE_ADMIN' ) ; return $ this -> render ( 'user/admin/user/index.html.twig' ) ; }
Displays a form to create a new User entity.
Displays a form to create a new User entity .