Now able to delete washing machines
This commit is contained in:
parent
432d9042fd
commit
9870556c5a
|
@ -136,6 +136,6 @@ class WashingMachineController extends Controller
|
||||||
$machine = WashingMachine::find($id);
|
$machine = WashingMachine::find($id);
|
||||||
$machine->delete();
|
$machine->delete();
|
||||||
|
|
||||||
return Response::detect("washing-machines.delete");
|
return redirect()->route("washing-machines.index");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue