src/Controllers/PermissionController.php
public function update(PermissionRequest $request, $id)
    {
        $this->authorize('edit_permission');
        $permission = Permissions::where('id', $id)->firstOrFail();
        $permission->update($request->all());
        $request->session()->flash('message', 'Permission Updated Successfully');
        return redirect()->route('RoleManager::permission.edit', $permission->id);
    }
public function update(PermissionRequest $request, $id)
    {
        $this->authorize('edit_permission');
        $permission = Permissions::where('id', $id)->firstOrFail();
        $permission->update($request->all());
        $request->session()->flash('message', 'Permission Updated Successfully');
        return redirect()->route('RoleManager::permission.edit', $permission->id);
    }
Update the permission in storage.

@param Request|PermissionRequest $request
@param int                       $id

@return \Illuminate\Http\Response