1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-03 14:24:23 +01:00
fab-manager/app/assets/javascripts/services/licence.js

18 lines
383 B
JavaScript
Raw Normal View History

/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
'use strict';
2015-05-05 03:10:25 +02:00
Application.Services.factory('Licence', ["$resource", $resource=>
$resource("/api/licences/:id",
{id: "@id"}, {
update: {
2015-05-05 03:10:25 +02:00
method: 'PUT'
}
}
)
]);