blob: cb93866451d767c2c33db1530b46634df5757296 [file] [log] [blame]
(function() {
'use strict';
angular.module('xos.helpers')
/**
* @ngdoc service
* @name xos.helpers.Users
* @description Angular resource to fetch /api/core/users/:user_id/
**/
.service('Users', function($resource){
return $resource('/api/core/users/:user_id/', { user_id: '@id' });
})
})();