FOS\UserBundle\Controller\GroupController::listAction PHP Method

listAction() public method

Show all groups
public listAction ( )
    public function listAction()
    {
        $groups = $this->container->get('fos_user.group_manager')->findGroups();
        return $this->container->get('templating')->renderResponse('FOSUserBundle:Group:list.html.' . $this->getEngine(), array('groups' => $groups));
    }