/** * Make home query and return home view. * * @return view */ public function home() { $articles = Article::selectHomeColumns()->published()->orderByDate('created')->simplePaginate(15); return view('theme.home', compact('articles')); }