Sha256: 4a1f1fd4065764c4c9e0e5ea1846b653cdb394b310ddcbc01bffa49bfd433a51
Contents?: true
Size: 1.03 KB
Versions: 30
Compression:
Stored size: 1.03 KB
Contents
(function () { 'use strict'; /** * @ngdoc controller * @name Bastion.puppet-modules.controller:PuppetModulesController * * @description * Handles fetching puppet modules content and populating Nutupane based on the current * ui-router state. */ function PuppetModulesController($scope, Nutupane, PuppetModule, CurrentOrganization) { var nutupane; var params = { 'organization_id': CurrentOrganization, 'sort_by': 'name', 'sort_order': 'ASC' }; nutupane = new Nutupane(PuppetModule, params); $scope.controllerName = 'katello_puppet_modules'; nutupane.primaryOnly = true; $scope.table = nutupane.table; $scope.controllerName = 'katello_puppet_modules'; } angular .module('Bastion.puppet-modules') .controller('PuppetModulesController', PuppetModulesController); PuppetModulesController.$inject = ['$scope', 'Nutupane', 'PuppetModule', 'CurrentOrganization']; })();
Version data entries
30 entries across 30 versions & 1 rubygems