app/Http/Controllers/UserManagement/PermissionController.php
// Remove the specified resource from storage.
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Permission $permission) {
        $permission->delete();
        Toastr::success('Data Deleted Successfully', 'Success', ['positionClass' => 'toast-top-right']);
        return redirect()->route('permissions.index');
    }
public function destroy ( Permission $ permission ) { $ permission -> delete ( ) ; Toastr :: success ( 'Data Deleted Successfully' , 'Success' , [ 'positionClass' => 'toast-top-right' ] ) ; return redirect ( ) -> route ( 'permissions.index' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .