use only one route url param
This commit is contained in:
parent
fc8f315671
commit
6c6bab52c4
6 changed files with 22 additions and 32 deletions
|
|
@ -889,27 +889,21 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
}
|
||||
})
|
||||
.state('tabs.buyandsell.glidera.amount', {
|
||||
url: '/amount/:glideraBuy/:glideraSell/:glideraAccessToken',
|
||||
url: '/amount/:isGlidera/:glideraAccessToken',
|
||||
views: {
|
||||
'tab-home@tabs': {
|
||||
controller: 'amountController',
|
||||
templateUrl: 'views/amount.html'
|
||||
}
|
||||
},
|
||||
params: {
|
||||
isGlidera: true
|
||||
}
|
||||
})
|
||||
.state('tabs.buyandsell.glidera.confirm', {
|
||||
url: '/confirm/:toAmount/:glideraBuy/:glideraSell/:glideraAccessToken',
|
||||
url: '/confirm/:toAmount/:isGlidera/:glideraAccessToken',
|
||||
views: {
|
||||
'tab-home@tabs': {
|
||||
controller: 'confirmController',
|
||||
templateUrl: 'views/confirm.html'
|
||||
}
|
||||
},
|
||||
params: {
|
||||
isGlidera: true
|
||||
}
|
||||
})
|
||||
.state('tabs.preferences.glidera', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue