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