Fixed blade references.
This commit is contained in:
@@ -18,7 +18,7 @@ class WashingMachineController extends Controller
|
||||
{
|
||||
$machines = WashingMachine::query()->paginate($request->query("page", 1));
|
||||
|
||||
return view("washing-machine.index", [ "machines" => $machines ]);
|
||||
return view("admin.washing-machines.index", [ "machines" => $machines ]);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class WashingMachineController extends Controller
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view("washing-machine.create");
|
||||
return view("admin.washing-machines.create");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -46,7 +46,7 @@ class WashingMachineController extends Controller
|
||||
$machine = new WashingMachine($data);
|
||||
$machine->save();
|
||||
|
||||
return view("washing-machine.store");
|
||||
return view("admin.washing-machines.store");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -59,7 +59,7 @@ class WashingMachineController extends Controller
|
||||
{
|
||||
$machine = WashingMachine::find($id);
|
||||
|
||||
return view("washing-machine.show", [
|
||||
return view("admin.washing-machines.show", [
|
||||
"machine" => $machine
|
||||
]);
|
||||
}
|
||||
@@ -74,7 +74,7 @@ class WashingMachineController extends Controller
|
||||
{
|
||||
$machine = WashingMachine::find($id);
|
||||
|
||||
return view("washing-machine.edit", [
|
||||
return view("admin.washing-machines.edit", [
|
||||
"machine" => $machine
|
||||
]);
|
||||
}
|
||||
@@ -98,7 +98,7 @@ class WashingMachineController extends Controller
|
||||
|
||||
$machine->save();
|
||||
|
||||
return view("washing-machine.edit", [
|
||||
return view("admin.washing-machines.edit", [
|
||||
"machine" => $machine
|
||||
]);
|
||||
}
|
||||
@@ -114,6 +114,6 @@ class WashingMachineController extends Controller
|
||||
$machine = WashingMachine::find($id);
|
||||
$machine->delete();
|
||||
|
||||
return view("washing-machine.destroy");
|
||||
return view("admin.washing-machines.destroy");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user