Sha256: 7b87f864baa4fd8691dbbfdbd294726d1b16df00234595400104559d9de4639c

Contents?: true

Size: 627 Bytes

Versions: 70

Compression:

Stored size: 627 Bytes

Contents

/**
 * @ngdoc service
 * @name  Bastion.generic-content.factory:GenericContent
 *
 * @requires BastionResource
 *
 * @description
 *   Provides a BastionResource for GenericContent
 */
angular.module('Bastion.generic-content').factory('GenericContent',
    ['BastionResource', function (BastionResource) {

        return BastionResource('katello/api/v2/:content_type_name/:id/',
            {'content_type_name': '@content_type_name', 'sort_by': 'name', 'sort_order': 'DESC'},
            {
                autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}}
            }
        );

    }]
);

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
katello-4.7.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.6.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.6.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.7.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.6.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.7.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.7.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.4.2.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.4.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.5.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.6.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.6.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.6.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.5.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.5.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.5.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.4.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js
katello-4.4.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/generic-content/generic-content.factory.js