diff --git a/js/services/controllerUtils.js b/js/services/controllerUtils.js index 16cfa5a6d..7ba8dcf2a 100644 --- a/js/services/controllerUtils.js +++ b/js/services/controllerUtils.js @@ -16,7 +16,7 @@ angular.module('copayApp.services') root.redirIfLogged = function() { if ($rootScope.wallet) { - $rootScope.wallet.path('receive'); + $location.path('receive'); } };