Skip to content

Commit 02cfd25

Browse files
Use router.currentPath instead of applicationController (#975)
Fixes #973
1 parent c6a0afe commit 02cfd25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ember_debug/route-debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default EmberObject.extend(PortMixin, {
2626
return container.lookup('controller:application');
2727
}),
2828

29-
currentPath: readOnly('applicationController.currentPath'),
29+
currentPath: readOnly('namespace.owner.router.currentPath'),
3030
currentURL: readOnly('namespace.owner.router.currentURL'),
3131

3232
portNamespace: 'route',

0 commit comments

Comments
 (0)