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

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

23 lines
498 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# frozen_string_literal: true
class Projects::Ci::PipelineEditorController < Projects::ApplicationController
before_action :check_can_collaborate!
2021-02-22 17:27:13 +05:30
before_action do
2022-07-16 23:28:13 +05:30
push_frontend_feature_flag(:schema_linting, @project)
push_frontend_feature_flag(:pipeline_editor_file_tree, @project)
2021-02-22 17:27:13 +05:30
end
2021-01-29 00:20:46 +05:30
feature_category :pipeline_authoring
2022-01-26 12:08:38 +05:30
urgency :low, [:show]
2021-01-29 00:20:46 +05:30
def show
end
private
def check_can_collaborate!
render_404 unless can_collaborate_with_project?(@project)
end
end