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,7 @@
angular.module('copayApp.controllers').controller('OpenController',
function($scope, $rootScope, $location, walletFactory, controllerUtils, Passphrase, notification) {
if ($rootScope.wallet) {
$location.path('/addresses');
}
controllerUtils.redirIfLogged();
var cmp = function(o1, o2) {
var v1 = o1.show.toLowerCase(),