Changes to post|put|patch|delete
This commit is contained in:
@@ -197,14 +197,14 @@ public function store(Request $request)
|
||||
|
||||
// \App\Models\Person\PersonAddress::create($address);
|
||||
|
||||
return to_route('client');
|
||||
return back()->with('success', 'Client created')->with('flash_method', 'POST');
|
||||
|
||||
}
|
||||
|
||||
public function update(Client $client, Request $request)
|
||||
{
|
||||
|
||||
return to_route('client.show', $client);
|
||||
return back()->with('success', 'Client updated')->with('flash_method', 'PUT');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user