$categories = $this->categoryRepository->getCategories($request); // $categories = Category::where('salon_id',$request->salon->salon_id)->with('services')->get(); if (!$request->session()->has('user') && $request->salon->show_login_home) { return view($request->salon->view_path . '.login'); } else { return view($request->salon->view_path . '.home', compact('categories')); }
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire