Commit 1dff19b3 authored by Miguel Rincon's avatar Miguel Rincon

Make controller check a private method

parent 9408b6b4
......@@ -5,10 +5,6 @@ class Projects::Ci::PipelineEditorController < Projects::ApplicationController
feature_category :pipeline_authoring
def check_can_collaborate!
render_404 unless can_collaborate_with_project?(@project)
end
def show
render_404 unless ::Gitlab::Ci::Features.ci_pipeline_editor_page_enabled?(@project)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment