public function index() { $cats = Cat::paginate(config('app.cats_per_page')); return view('cats.index', compact('cats')); }