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

@ -34,9 +34,7 @@ var valid_pairs = {
angular.module('copayApp.controllers').controller('SetupController',
function($scope, $rootScope, $location, $timeout, walletFactory, controllerUtils, Passphrase, backupService, notification) {
if ($rootScope.wallet) {
$location.path('/addresses');
}
controllerUtils.redirIfLogged();
$rootScope.videoInfo = {};
$scope.loading = false;