Controller/GroupController.php
public function showAction($groupName)
    {
        $acl = $this->get('bacon_acl.service.authorization');

        if (!$acl->authorize('groups', 'show')) {
            throw $this->createAccessDeniedException();
        }

        $group = $this->findGroupBy('name', $groupName);

        return $this->render('FOSUserBundle:Group:show.html.twig', array(
            'group' => $group
        ));
    }
public function showAction($groupName)
    {
        $acl = $this->get('bacon_acl.service.authorization');

        if (!$acl->authorize('groups', 'show')) {
            throw $this->createAccessDeniedException();
        }

        $group = $this->findGroupBy('name', $groupName);

        return $this->render('FOSUserBundle:Group:show.html.twig', array(
            'group' => $group
        ));
    }
public function showAction ( $ groupName ) { $ acl = $ this -> get ( 'bacon_acl.service.authorization' ) ; if ( ! $ acl -> authorize ( 'groups' , 'show' ) ) { throw $ this -> createAccessDeniedException ( ) ; } $ group = $ this -> findGroupBy ( 'name' , $ groupName ) ; return $ this -> render ( 'FOSUserBundle:Group:show.html.twig' , array ( 'group' => $ group ) ) ; }
Show one group
Show one group