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

Unique title overriding #35

Closed
MattWohler opened this issue Nov 20, 2014 · 1 comment
Closed

Unique title overriding #35

MattWohler opened this issue Nov 20, 2014 · 1 comment
Labels

Comments

@MattWohler
Copy link

$menu->add('Companies', 'companies');
$menu->companies->add('New', 'companies/new');
$menu->companies->add('All', 'companies/all');

$menu->add('Users', 'users');
$menu->users->add('New', 'users/new');
$menu->users->add('All', 'users/all');

$menu->all->link->['foo' => 'bar']);

The title property is used to define the item object.

In the above use case, the item's link attribute is setting for both companies->all and users->all.

Is this intended, a bug, or am I blatantly missing something?

@dustingraham
Copy link
Collaborator

Item now has a unique id value.

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

No branches or pull requests

2 participants