Now able to delete washing machines

This commit is contained in:
Anders
2020-07-01 10:56:04 +02:00
parent 432d9042fd
commit 9870556c5a
@@ -136,6 +136,6 @@ class WashingMachineController extends Controller
$machine = WashingMachine::find($id);
$machine->delete();
return Response::detect("washing-machines.delete");
return redirect()->route("washing-machines.index");
}
}