Пример #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $posts = Posts::paginate(10);
     return view('posts.index', compact('posts'));
 }