blob: 961d5d8f5f75e2635ea2d565e0450456ea296557 [file] [log] [blame]
Matteo Scandoloba678a92016-06-20 17:16:15 -07001(function() {
2 'use strict';
3
4 angular.module('xos.helpers')
5 /**
6 * @ngdoc service
7 * @name xos.helpers.Networkstemplates
8 * @description Angular resource to fetch /api/core/networktemplates/:id/
9 **/
10 .service('Networkstemplates', function($resource){
11 return $resource('/api/core/networktemplates/:id/', { id: '@id' }, {
12 update: { method: 'PUT' }
13 });
14 })
15})();