Add link to account from service view
This commit is contained in:
parent
05c5d35dbf
commit
8d194c5523
@ -107,7 +107,12 @@ class HomeController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function service(Service $o): View
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user