Sha256: ce46a5093d190117cddad8c2ca995ece7a29fb461ece7ee42c207a6a98a0a7d3

Contents?: true

Size: 686 Bytes

Versions: 11

Compression:

Stored size: 686 Bytes

Contents

(function () {
    'use strict';

    /**
     * @ngdoc controller
     * @name  Bastion.content-views.versions.controller:ContentViewVersion
     *
     * @description
     *   Handles fetching of a content view version based on the route ID and putting it
     *   on the scope.
     */
    function ContentViewVersionController($scope, ContentViewVersion) {

        $scope.version = ContentViewVersion.get({id: $scope.$stateParams.versionId});

    }

    angular
        .module('Bastion.content-views.versions')
        .controller('ContentViewVersionController', ContentViewVersionController);

    ContentViewVersionController.$inject = ['$scope', 'ContentViewVersion'];

})();

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
katello-2.4.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
katello-2.4.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
katello-2.4.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
katello-2.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
katello-3.0.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
katello-3.0.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
katello-2.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
katello-2.4.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
katello-2.4.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
katello-2.4.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
katello-2.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js