idk kev
This commit is contained in:
@@ -88,13 +88,11 @@ class ContactController extends Controller
|
|||||||
{
|
{
|
||||||
|
|
||||||
$data = $request->all();
|
$data = $request->all();
|
||||||
//FORCED UPDATE
|
|
||||||
|
|
||||||
$contact = Contact::find($id);
|
$contact = Contact::find($id);
|
||||||
$contact->update($data);
|
$contact->update($data);
|
||||||
$contact->save();
|
$contact->save();
|
||||||
|
|
||||||
return Response::detect("contacts.update", [ "contact" => $contact ]);
|
return Response::detect("contacts.update", [ "contacts" => $contact ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user