1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
fab-manager/app/assets/javascripts/services/user.js
2020-04-21 16:47:35 +02:00

12 lines
209 B
JavaScript

'use strict';
Application.Services.factory('User', ['$resource', function ($resource) {
return $resource('/api/users/:id',
{ id: '@id' }, {
query: {
isArray: false
}
}
);
}]);