blob: 74b73b684f2aa1bd3c9fc8074d774fc228c70ef1 [file] [log] [blame]
(function() {
'use strict';
angular.module('xos.helpers')
/**
* @ngdoc service
* @name xos.helpers.Networks
* @description Angular resource to fetch /api/core/networks/:id/
**/
.service('Networks', function($resource){
return $resource('/api/core/networks/:id/', { id: '@id' }, {
update: { method: 'PUT' }
});
})
})();