Sha256: b05d0f411e81d3fbfa3b114b3dedfb2374c987cc0c724e804446ab1e5813e9c0
Contents?: true
Size: 932 Bytes
Versions: 75
Compression:
Stored size: 932 Bytes
Contents
(function () { 'use strict'; /** * @ngdoc controller * @name Bastion.files.controller:FilesController * * @description * Handles fetching files and populating Nutupane based on the current * ui-router state. */ function FilesController($scope, Nutupane, File, CurrentOrganization) { var nutupane; var params = { 'organization_id': CurrentOrganization, 'sort_by': 'name', 'sort_order': 'ASC' }; nutupane = new Nutupane(File, params); $scope.controllerName = 'katello_files'; nutupane.masterOnly = true; $scope.table = nutupane.table; $scope.controllerName = 'katello_files'; } angular .module('Bastion.files') .controller('FilesController', FilesController); FilesController.$inject = ['$scope', 'Nutupane', 'File', 'CurrentOrganization']; })();
Version data entries
75 entries across 75 versions & 1 rubygems