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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-27 09:08:27 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-27 09:08:27 +0300
commit5fcb5ff2d672fb85066907d51f4aa5d8cc804ed4 (patch)
treeccb76936f63e48d7cd47316858bc99c33df67e84 /app/helpers/suggest_pipeline_helper.rb
parent7bacfbe18205dd3a07a74b453224b1922155b578 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/suggest_pipeline_helper.rb')
-rw-r--r--app/helpers/suggest_pipeline_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/suggest_pipeline_helper.rb b/app/helpers/suggest_pipeline_helper.rb
index d64e8d6f2cd..3151b792344 100644
--- a/app/helpers/suggest_pipeline_helper.rb
+++ b/app/helpers/suggest_pipeline_helper.rb
@@ -2,7 +2,7 @@
module SuggestPipelineHelper
def should_suggest_gitlab_ci_yml?
- experiment_enabled?(:suggest_pipeline) &&
+ Feature.enabled?(:suggest_pipeline, default_enabled: true) &&
current_user &&
params[:suggest_gitlab_ci_yml] == 'true'
end