Welcome to mirror list, hosted at ThFree Co, Russian Federation.

secure_files_controller.rb « ci « projects « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 59ddca19081bb2f3c0f5e70f768bb81543a51937 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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