Skip to content
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.

Commit

Permalink
fix($futureState): Fixed url.concat to use parentState.url, or parent…
Browse files Browse the repository at this point in the history
…State.navigable.url.
  • Loading branch information
christopherthielen committed Nov 23, 2014
1 parent df4974e commit 31ca73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/futureState.js
Expand Up @@ -48,7 +48,7 @@ angular.module('ct.ui.router.extras').provider('$futureState',
var parentMatcher, parentName = futureState.name.split(/\./).slice(0, -1).join("."),
realParent = findState(futureState.parent || parentName);
if (realParent) {
parentMatcher = realParent.navigable.url;
parentMatcher = realParent.url || realParent.navigable.url;
} else if (parentName === "") {
parentMatcher = $urlMatcherFactory.compile("");
} else {
Expand Down

0 comments on commit 31ca73b

Please sign in to comment.