v1.4.0 - Added category search on the app
Added comments Fixed code Fixed pagination still being there without using it
This commit is contained in:
@@ -66,7 +66,7 @@ class ContactController extends Controller
|
||||
if(!$saved){
|
||||
return redirect()->route("contacts.store");
|
||||
}else{
|
||||
$contact = Contact::query()->paginate(20);
|
||||
$contact = Contact::query()->get();
|
||||
return redirect()->route("contacts.index", ['contacts' => $contact]);
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ class ContactController extends Controller
|
||||
if(!$saved){
|
||||
return redirect()->route("contacts.update", [ "contacts" => $contact ]);
|
||||
}else{
|
||||
$contact = Contact::query()->paginate(20);
|
||||
$contact = Contact::query()->get();
|
||||
return redirect()->route("contacts.index", ['contacts' => $contact]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user