Skip to content

Commit

Permalink
Use router.currentPath instead of applicationController (#975)
Browse files Browse the repository at this point in the history
Fixes #973
  • Loading branch information
RobbieTheWagner authored May 26, 2019
1 parent c6a0afe commit 02cfd25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ember_debug/route-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default EmberObject.extend(PortMixin, {
return container.lookup('controller:application');
}),

currentPath: readOnly('applicationController.currentPath'),
currentPath: readOnly('namespace.owner.router.currentPath'),
currentURL: readOnly('namespace.owner.router.currentURL'),

portNamespace: 'route',
Expand Down

0 comments on commit 02cfd25

Please sign in to comment.