Skip to content

Breadcrumb is failing on home route #102

@arianmaykon

Description

@arianmaykon

As you can see here the breadcrum component is failing on home, and even in normal routes it puts the base route two times, after home and at end.

Heres my registered menus:

    protected function getMenu(Request $request)
    {
        // Build your menu here by constructing a MenuItemModel array
        $menuItems = [
            new MenuItemModel('ItemId', 'Início', 'avanzu_admin_home', [/* options */], 'iconclasses fa fa-home'),
            new MenuItemModel('ItemId2', 'Categorias', 'category_index', [/* options */], 'iconclasses fa fa-tags'),
        ];

        return $this->activateByRoute($request->get('_route'), $menuItems);
    }

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions