Rename parameter account to account_id.

This commit is contained in:
Alexis Lahouze
2016-01-13 18:33:21 +01:00
parent e4c0752a2c
commit f961eba9bf
4 changed files with 6 additions and 8 deletions

View File

@ -354,7 +354,7 @@ accountantApp
*/
$scope.load = function(begin, end) {
$scope.operations = Operation.query({
account: $routeParams.accountId,
account_id: $routeParams.accountId,
begin: begin.format('YYYY-MM-DD'),
end: end.format('YYYY-MM-DD')
});

View File

@ -48,7 +48,7 @@ accountantApp
*/
$scope.load = function() {
$scope.operations = ScheduledOperation.query({
account: $routeParams.accountId
account_id: $routeParams.accountId
});
};