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,10 +2,8 @@
angular.module('copayApp.controllers').controller('SettingsController',
function($scope, $rootScope, $window, $location) {
if ($rootScope.wallet) {
$location.path('/addresses');
}
controllerUtils.redirIfLogged();
$scope.title = 'Settings';
$scope.networkName = config.networkName;
$scope.insightHost = config.blockchain.host;