redid to / if browser is supported

This commit is contained in:
Gustavo Maximiliano Cortez 2014-10-09 17:11:53 -03:00
commit 473cc68cbc
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
'use strict';
angular.module('copayApp.controllers').controller('UnsupportedController',
function($scope, $location) {
if (localStorage && localStorage.length > 0) {
$location.path('/');
}
}
);