Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breadcrumb is failing on home route #102

Open
arianmaykon opened this issue Apr 24, 2016 · 3 comments
Open

Breadcrumb is failing on home route #102

arianmaykon opened this issue Apr 24, 2016 · 3 comments

Comments

@arianmaykon
Copy link

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
Copy link
Collaborator

@arianmaykon Is stills an issue in current version?

@shakaran
Copy link
Collaborator

shakaran commented Oct 4, 2017

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

@arianmaykon
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants