/** * Show the categories index. * * @return \Response */ public function getCategoryIndex() { $categories = $this->categories->findAllWithTrickCount(); return view('browse.categories', compact('categories')); }