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