blob: 0895a9936c44b993e16e14f5d4d27a6a7760498d [file] [log] [blame]
(function() {
'use strict';
angular.module('xos.helpers')
/**
* @ngdoc service
* @name xos.helpers.Truckroll-Collection
* @description Angular resource to fetch /api/tenant/truckroll/:truckroll_id/
**/
.service('Truckroll-Collection', function($resource){
return $resource('/api/tenant/truckroll/:truckroll_id/', { truckroll_id: '@id' }, {
update: { method: 'PUT' }
});
})
})();