9 lines
221 B
Ruby
9 lines
221 B
Ruby
# frozen_string_literal: true
|
|
|
|
module SuggestPipelineHelper
|
|
def should_suggest_gitlab_ci_yml?
|
|
experiment_enabled?(:suggest_pipeline) &&
|
|
current_user &&
|
|
params[:suggest_gitlab_ci_yml] == 'true'
|
|
end
|
|
end
|