Skip to content

Commit

Permalink
fix: add ncyBreadcrumbState for ui-sref attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddo authored and ncuillery committed Apr 11, 2016
1 parent bacc019 commit 536a6df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions release/angular-breadcrumb.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ function $Breadcrumb() {
}

conf.ncyBreadcrumbLink = $state.href(ref.state, parentParams || $stateParams || {});
conf.ncyBreadcrumbState = stateRef;
chain.unshift(conf);
}
};
Expand Down
1 change: 1 addition & 0 deletions src/angular-breadcrumb.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ function $Breadcrumb() {
}

conf.ncyBreadcrumbLink = $state.href(ref.state, parentParams || $stateParams || {});
conf.ncyBreadcrumbState = stateRef;
chain.unshift(conf);
}
};
Expand Down

0 comments on commit 536a6df

Please sign in to comment.