diff --git a/accountant-ui/js/accounts.js b/accountant-ui/js/accounts.js index feb36a3..dadd313 100644 --- a/accountant-ui/js/accounts.js +++ b/accountant-ui/js/accounts.js @@ -51,7 +51,7 @@ var accountModule = angular.module('accountant.accounts', [ ); Account.prototype.getSolds = function() { - var Solds = $resource('/api/account/:id/solds', {id: this.id}); + var Solds = $resource('/api/account/:id/balances', {id: this.id}); this.solds = Solds.get(); };