debian-mirror-gitlab/app/controllers/projects/ci/pipeline_editor_controller.rb
2023-03-17 16:20:25 +05:30

18 lines
346 B
Ruby

# frozen_string_literal: true
class Projects::Ci::PipelineEditorController < Projects::ApplicationController
before_action :check_can_collaborate!
feature_category :pipeline_authoring
urgency :low, [:show]
def show
end
private
def check_can_collaborate!
render_404 unless can_collaborate_with_project?(@project)
end
end