You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(Transition): Use { location: replace } when redirecting a transtition in response to a URL sync
This fixes a problem that occurred when the url sync caused a redirection:
- URL changes (to `/foo`)
- Router synchronizes
- Router redirects elsewhere (to `/bar`)
- Url is updated
Now the browser history has two history entries:
- `/foo`
- `/bar`
---
Now, when the URL is updated, it uses `{ location: replace }` so the browser history only has one entry:
- `/bar`
Closesangular-ui/ui-router#3187Closes#15
0 commit comments