debian-mirror-gitlab/app/controllers/projects/ci/secure_files_controller.rb
2022-07-17 14:43:12 +02:00

11 lines
281 B
Ruby

# frozen_string_literal: true
class Projects::Ci::SecureFilesController < Projects::ApplicationController
before_action :authorize_read_secure_files!
feature_category :pipeline_authoring
def show
render_404 unless Feature.enabled?(:ci_secure_files, project)
end
end