summaryrefslogtreecommitdiff
path: root/app/helpers/blob_helper.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-27 06:08:27 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-27 06:08:27 +0000
commit5fcb5ff2d672fb85066907d51f4aa5d8cc804ed4 (patch)
treeccb76936f63e48d7cd47316858bc99c33df67e84 /app/helpers/blob_helper.rb
parent7bacfbe18205dd3a07a74b453224b1922155b578 (diff)
downloadgitlab-ce-5fcb5ff2d672fb85066907d51f4aa5d8cc804ed4.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/blob_helper.rb')
-rw-r--r--app/helpers/blob_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb
index 69e7556ef20..f921b832c0f 100644
--- a/app/helpers/blob_helper.rb
+++ b/app/helpers/blob_helper.rb
@@ -382,7 +382,7 @@ module BlobHelper
end
def show_suggest_pipeline_creation_celebration?
- experiment_enabled?(:suggest_pipeline) &&
+ Feature.enabled?(:suggest_pipeline, default_enabled: true) &&
@blob.path == Gitlab::FileDetector::PATTERNS[:gitlab_ci] &&
@blob.auxiliary_viewer&.valid?(project: @project, sha: @commit.sha, user: current_user) &&
@project.uses_default_ci_config? &&