Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp
This commit is contained in:
commit
0e7bf85d26
|
@ -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 ]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue