Example #1
0
 public function getIndex()
 {
     $picturesCount = Picture::count();
     $tagsCount = Tag::count();
     return view('home', ['picturesCount' => $picturesCount, 'tagsCount' => $tagsCount]);
 }