public function home() { $photos = Photo::recent(); $article = Article::recent(); return view('pages.home', compact('photos', 'article')); }