avanzu / AdminThemeBundle

Admin Theme based on the AdminLTE Template for easy integration into symfony
MIT License
280 stars 148 forks source link

Breadcrumb is failing on home route #102

Open arianmaykon opened 8 years ago

arianmaykon commented 8 years ago

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);
    }
shakaran commented 7 years ago

@arianmaykon Is stills an issue in current version?

shakaran commented 6 years ago

@arianmaykon waiting your feedback, please if you have some spare minutes would be nice the current state of this in master. Thanks!

arianmaykon commented 6 years ago

Sorry for the delay, im unable to test the changes right now. Do i close the issue or what?