Sha256: e3cfa08e35e6080eedb76f1fee5d5c78071bb7077c8bb9a48c438a4fcaa34ebf
Contents?: true
Size: 738 Bytes
Versions: 221
Compression:
Stored size: 738 Bytes
Contents
/** * @ngdoc factory * @name Bastion.utils.factory:BastionResource * * @requires $resource * * @description * Base module that defines the Katello module namespace and includes any thirdparty * modules used by the application. */ angular.module('Bastion.utils').factory('BastionResource', ['$resource', function ($resource) { return function (url, paramDefaults, actions) { var defaultActions; defaultActions = { queryPaged: {method: 'GET', isArray: false}, queryUnpaged: {method: 'GET', isArray: false, params: {'full_result': true}} }; actions = angular.extend({}, defaultActions, actions); return $resource(url, paramDefaults, actions); }; }]);
Version data entries
221 entries across 221 versions & 2 rubygems