feed -> news; - api/
This commit is contained in:
1 parent
22edc3b275
commit
02906582ac
5 files changed
+7
-7
No files matched your search
+2
-2
@@ -5,8 +5,8 @@
|
||||
module.exports = function(app) {
|
||||
app.factory("api", function ($http) {
|
||||
var api = {};
|
||||
var Endpoint = require("./feed");
|
||||
api.feed = new Endpoint($http);
|
||||
var Endpoint = require("./news");
|
||||
api.news = new Endpoint($http);
|
||||
|
||||
return api;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user