blob: 3151b79234421aa595699abbee799e529ae496d1 (
plain)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
module SuggestPipelineHelper
def should_suggest_gitlab_ci_yml?
Feature.enabled?(:suggest_pipeline, default_enabled: true) &&
current_user &&
params[:suggest_gitlab_ci_yml] == 'true'
end
end
|