home page mobile changed
This commit is contained in:
parent
8506d75436
commit
c0fb787cf0
|
|
@ -13,7 +13,7 @@ Breadcrumbs::for('home', function ($trail) {
|
|||
Breadcrumbs::for('category', function ($trail, $category){
|
||||
$trail->parent('home');
|
||||
|
||||
if(!empty($category) && $category->parent_id){
|
||||
if(!empty($category) && $category->parent){
|
||||
$parent = $category->parent;
|
||||
$trail->push($parent->title,$parent->url);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue