Added s til controller

This commit is contained in:
Neerholt 2020-06-29 10:41:27 +02:00
parent bb307df506
commit f952ad33aa
1 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ class ContactController extends Controller
$contact = Contact::query()->paginate($request->input("limit", 20));
return Response::detect("contact.index", [ "contact" => $contact]);
return Response::detect("contacts.index", [ "contact" => $contact]);
}
/**
@ -28,7 +28,7 @@ class ContactController extends Controller
*/
public function create()
{
return Response::detect("contact.create");
return Response::detect("contacts.create");
}
@ -47,7 +47,7 @@ class ContactController extends Controller
"tel" => "required|max:255",
]);
$contact = new MenuPlan($requestContact);
$contact = new Contact($requestContact);
$contact->save();
return Response::detect("contacts.store");