debian-mirror-gitlab/app/controllers/projects/ci/secure_files_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
281 B
Ruby
Raw Normal View History

2022-05-07 20:08:51 +05:30
# frozen_string_literal: true
class Projects::Ci::SecureFilesController < Projects::ApplicationController
before_action :authorize_read_secure_files!
feature_category :pipeline_authoring
def show
2022-07-16 23:28:13 +05:30
render_404 unless Feature.enabled?(:ci_secure_files, project)
2022-05-07 20:08:51 +05:30
end
end