/** * Display a listing of the resource. * * @return Response */ public function index() { $posts = Posts::simplePaginate(5); return view('articles.index', compact('posts')); }