/** * Display a listing of the posts. * * @return \Illuminate\View\View */ public function index() { $posts = $this->posts->articles(3, true); return view('posts.index', compact('posts')); }