Change url to /receive and /history

This commit is contained in:
Yemel Jardi 2014-08-06 15:34:56 -03:00
commit 2ba794fc47
7 changed files with 12 additions and 12 deletions

View file

@ -51,7 +51,7 @@ angular.module('copayApp.services')
});
wallet.on('serverError', function(m) {
var message = m || 'The PeerJS server is not responding, please try again';
$location.path('addresses');
$location.path('receive');
root.onErrorDigest($scope, message);
});
wallet.on('ready', function() {
@ -123,7 +123,7 @@ angular.module('copayApp.services')
if ($rootScope.pendingPayment) {
$location.path('send');
} else {
$location.path('addresses');
$location.path('receive');
}
if (!config.disableVideo)
video.setOwnPeer(myPeerID, w, handlePeerVideo);