Now able to delete washing machines
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user