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

editAction() public method

Edit one group, show the edit form
public editAction ( $groupname )
    public function editAction($groupname)
    {
        $group = $this->findGroupBy('name', $groupname);
        $form = $this->container->get('fos_user.form.group');
        $form->process($group);
        return $this->container->get('templating')->renderResponse('FOSUserBundle:Group:edit.html.' . $this->getEngine(), array('form' => $form, 'groupname' => $group->getName()));
    }