Devise\Users\Groups\GroupsResponseHandler::requestDestroyGroup PHP Method

requestDestroyGroup() public method

Delete a group
public requestDestroyGroup ( integer $id ) : Redirect
$id integer
return Redirect
    public function requestDestroyGroup($id)
    {
        $this->Manager->destroyGroup($id);
        return $this->Redirect->route('dvs-groups')->with('message', 'Group successfully removed');
    }