idk kev
This commit is contained in:
parent
76cd9663c2
commit
3f5886223b
|
@ -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 ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue