forked from gnosis/MultiSigWallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutes.js
42 lines (41 loc) · 1.06 KB
/
routes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
(
function () {
angular
.module('multiSigWeb')
.config(function($routeProvider, NotificationProvider){
$routeProvider
.when("/wallets", {
controller: 'walletCtrl',
templateUrl: 'partials/wallets.html'
})
.when("/transactions", {
controller: 'transactionCtrl',
templateUrl: 'partials/transactions.html'
})
.when("/wallet/:address", {
controller: 'walletDetailCtrl',
templateUrl: 'partials/wallet.html'
})
.when("/settings", {
controller: 'settingsCtrl',
templateUrl: 'partials/settings.html'
})
.when("/signup", {
controller: 'notificationsSignupConfirmationCtrl',
templateUrl: 'partials/wallets.html'
})
.when("/accounts", {
// Only for Electron
controller: 'accountCtrl',
templateUrl: 'partials/accounts.html'
})
.otherwise({
redirectTo: '/wallets'
});
NotificationProvider.setOptions({
delay: 3000,
horizontalSpacing: 60
});
});
}
)();