import from google reader

This commit is contained in:
Athou
2013-04-05 16:31:42 +02:00
parent ad1e64b101
commit a1ab76d176
16 changed files with 388 additions and 1 deletions

View File

@@ -211,4 +211,23 @@ module.factory('AdminUsersService', function($resource) {
};
var res = $resource('rest/admin/users/:_method', {}, actions);
return res;
});
module.factory('AdminSettingsService', function($resource) {
var actions = {
get : {
method : 'GET',
params : {
_method : 'get'
}
},
save : {
method : 'POST',
params : {
_method : 'save'
}
}
};
var res = $resource('rest/admin/settings/:_method', {}, actions);
return res;
});