Add link to account from service view

This commit is contained in:
Deon George 2021-12-20 15:06:01 +11:00
parent 05c5d35dbf
commit 8d194c5523

View File

@ -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);
}
/**