renamed to angularjs.html + unnecessary memoize

This commit is contained in:
Gwenhael Le Moine 2021-05-12 17:19:20 +02:00
parent 31abc55cba
commit a80fcfc8f7
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ public_folder( "#{WD}/public" )
get "/" do |env|
env.response.content_type = "text/html"
send_file( env, "#{WD}/public/index.html" )
send_file( env, "#{WD}/public/angularjs.html" )
end
ledger = Ledger.new

View file

@ -373,7 +373,7 @@ app.service('API',
});
};
API.accounts = _.memoize(function() {
API.accounts = function() {
return $http.get('/api/ledger/accounts');
});
};
}]);