Skip to content

Commit

Permalink
undo Customer controller file
Browse files Browse the repository at this point in the history
  • Loading branch information
RasniNathees committed Jul 30, 2024
1 parent 3dc8bb2 commit 09e3cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/CustomerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function edit(Customer $customer)

public function update(Customer $customer, StoreCustomerRequest $request)
{
$customer->update($request->except(['avatar']));
$customer->update($request->all());

return redirect('customer')->with('success', 'customer '.$customer->name.' udpated!');
}
Expand Down

0 comments on commit 09e3cf0

Please sign in to comment.