improve url checker

This commit is contained in:
Gustavo Maximiliano Cortez 2014-08-06 18:41:37 -03:00
commit 53bc610bbc
7 changed files with 16 additions and 19 deletions

View file

@ -2,9 +2,8 @@
angular.module('copayApp.controllers').controller('ImportController',
function($scope, $rootScope, $location, walletFactory, controllerUtils, Passphrase, notification) {
if ($rootScope.wallet) {
$location.path('/addresses');
}
controllerUtils.redirIfLogged();
$scope.title = 'Import a backup';
$scope.importStatus = 'Importing wallet - Reading backup...';