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>2021-11-17 15:11:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-17 15:11:55 +0300
commitc609c898ff7f42c3d72a1c6d619e1ff786f5e18a (patch)
tree8886ffa1ab9e2eb176f66209dd1c34ee1ecba3ea /app/controllers
parentb1a7b1b7e33ae747119d89e5a6697b361df4d947 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/ci/pipeline_editor_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/projects/ci/pipeline_editor_controller.rb b/app/controllers/projects/ci/pipeline_editor_controller.rb
index 70a1a855e91..600516f95a2 100644
--- a/app/controllers/projects/ci/pipeline_editor_controller.rb
+++ b/app/controllers/projects/ci/pipeline_editor_controller.rb
@@ -19,8 +19,9 @@ class Projects::Ci::PipelineEditorController < Projects::ApplicationController
end
def setup_walkthrough_experiment
- experiment(:pipeline_editor_walkthrough, actor: current_user) do |e|
+ experiment(:pipeline_editor_walkthrough, namespace: @project.namespace, sticky_to: current_user) do |e|
e.candidate {}
+ e.record!
end
end
end