Skip to content

Commit 36c2fa8

Browse files
authored
Merge pull request #95 from jevanlingen/patch-1
Transition to url without root
2 parents a2abed3 + 469d10f commit 36c2fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/href-to.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default class {
2828

2929
handle() {
3030
let router = this._getRouter();
31-
router.transitionTo(this.url);
31+
router.transitionTo(this.getUrlWithoutRoot());
3232
this.event.preventDefault();
3333
}
3434

0 commit comments

Comments
 (0)