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

requestUpdateGroup() public method

Update a group
public requestUpdateGroup ( integer $id, array $input ) : Redirect
$id integer
$input array
return Redirect
    public function requestUpdateGroup($id, $input)
    {
        if ($this->Manager->updateGroup($id, $input)) {
            return $this->Redirect->route('dvs-groups')->with('message', 'Group successfully updated');
        }
        return $this->Redirect->route('dvs-groups-edit', $id)->withInput()->withErrors($this->Manager->errors)->with('message', $this->Manager->message);
    }