Acoustep\EntrustGui\Http\Controllers\UsersController::update PHP Method

update() public method

PUT /roles/{id}
public update ( integer $id ) : Response
$id integer
return Response
    public function update($id)
    {
        try {
            $this->gateway->update($this->request, $id);
        } catch (ValidationException $e) {
            return back()->withErrors($e->getErrors())->withInput();
        }
        return redirect(route('entrust-gui::users.index'))->withSuccess(trans('entrust-gui::users.updated'));
    }