diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 32ccc13..9d8a1b7 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -107,7 +107,12 @@ class HomeController extends Controller */ public function service(Service $o): View { - return View('u.service.home',['o'=>$o]); + $breadcrumb = collect(); + $breadcrumb->put($o->account->user->name,url('u/home',$o->account->user_id)); + + return View('u.service.home') + ->with('breadcrumb',$breadcrumb) + ->with('o',$o); } /**