Sha256: 2b2eafce1f56ba7050e2a3880ebb65e154b43b149c15e2161edb3eec81ed9491
Contents?: true
Size: 733 Bytes
Versions: 15
Compression:
Stored size: 733 Bytes
Contents
/** * @ngdoc factory * @name Bastion.factory:BastionResource * * @requires BastionResource * * @description * Base module that defines the Katello module namespace and includes any thirdparty * modules used by the application. */ angular.module('Bastion').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
15 entries across 15 versions & 1 rubygems