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

fix($urlRouter): resolve clashing of routes #1585

Merged
merged 1 commit into from
Sep 23, 2015
Merged

fix($urlRouter): resolve clashing of routes #1585

merged 1 commit into from
Sep 23, 2015

Conversation

just-boris
Copy link
Contributor

Sometimes url can be matched by several different rules. Now it will be handled by the first rule in order of appearance. So it causes some issues. It would be better to match states from more specified to common.

Angular-route already has same issue angular/angular.js#8266

So, I propose include this fixes here, because is ui-router more powerful and flexible library.

@nateabele nateabele added this to the 1.0.0-preview milestone Mar 28, 2015
@nateabele nateabele self-assigned this Aug 19, 2015
@wesleycho
Copy link
Contributor

What are your thoughts on this @nateabele ? This sounds sane, but there is still some ambiguity with states with the same level of specificity.

@nateabele
Copy link
Contributor

@wesleycho I don't actually remember what I was gonna do here, but this solution seems fine for now.

nateabele added a commit that referenced this pull request Sep 23, 2015
fix($urlRouter): resolve clashing of routes
@nateabele nateabele merged commit 07c046c into angular-ui:master Sep 23, 2015
@nateabele
Copy link
Contributor

@wesleycho Btw, any PRs that get merged to master from here out, be sure to flag them on the 1.0-preview milestone so we can review. /cc @christopherthielen

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

Successfully merging this pull request may close these issues.

None yet

3 participants