Don't overwrite pagination counts, let it default to the config #162

This commit is contained in:
Nabeel Shahzad
2018-02-28 15:06:57 -06:00
parent 6993cba55a
commit 208b6e73dc
5 changed files with 9 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ class UserController extends Controller
{
return $this->view('users.index',[
'country' => new \League\ISO3166\ISO3166(),
'users' => $this->userRepo->orderBy('name', 'desc')->paginate(25),
'users' => $this->userRepo->orderBy('name', 'desc')->paginate(),
]);
}
}