This commit is contained in:
Neerholt 2020-06-29 12:21:16 +02:00
parent 76cd9663c2
commit 3f5886223b
1 changed files with 1 additions and 3 deletions

View File

@ -88,13 +88,11 @@ class ContactController extends Controller
{
$data = $request->all();
//FORCED UPDATE
$contact = Contact::find($id);
$contact->update($data);
$contact->save();
return Response::detect("contacts.update", [ "contact" => $contact ]);
return Response::detect("contacts.update", [ "contacts" => $contact ]);
}
/**