Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anders
2020-06-29 12:29:30 +02:00
4 changed files with 20 additions and 5 deletions
@@ -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 ]);
}
/**