fixes
This commit is contained in:
@@ -31,14 +31,18 @@ class CustomerAddressController extends Controller
|
||||
|
||||
public function show($id)
|
||||
{
|
||||
$data['customer'] = CustomerAddresses::get($id);
|
||||
$data = [
|
||||
'customer' => CustomerAddresses::get($id),
|
||||
];
|
||||
|
||||
return view('Admin.Shop.CustomerAddresses.view', $data);
|
||||
}
|
||||
|
||||
public function edit($id)
|
||||
{
|
||||
$data['customer'] = CustomerAddresses::edit($id);
|
||||
$data = [
|
||||
'customer' => CustomerAddresses::edit($id),
|
||||
];
|
||||
|
||||
return view('Admin.Shop.CustomerAddresses.edit', $data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user