Welcome to mirror list, hosted at ThFree Co, Russian Federation.

suggest_pipeline_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d64e8d6f2cd07a3172c5534ea48ebf46540629a9 (plain)
1
2
3
4
5
6
7
8
9
# 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