1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-13 23:48:55 +01:00
fab-manager/app/frontend/src/javascript/services/admin.js

12 lines
211 B
JavaScript

'use strict';
Application.Services.factory('Admin', ['$resource', function ($resource) {
return $resource('/api/admins/:id',
{ id: '@id' }, {
query: {
isArray: false
}
}
);
}]);