1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-06 21:46:17 +01:00
fab-manager/app/frontend/src/javascript/services/machine.js

12 lines
215 B
JavaScript

'use strict';
Application.Services.factory('Machine', ['$resource', function ($resource) {
return $resource('/api/machines/:id',
{ id: '@id' }, {
update: {
method: 'PUT'
}
}
);
}]);