diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-16 00:11:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-16 00:11:12 +0300 |
commit | a7aff3e0e4deb15c0902e0f948eb300ba77f3e47 (patch) | |
tree | c294fb9c39d5619fb3cac6f4a8d520deb8403dca /app/experiments | |
parent | 27d1ed4ddff6c2649544a968c2842140272d9c9d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/experiments')
-rw-r--r-- | app/experiments/security_reports_mr_widget_prompt_experiment.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/experiments/security_reports_mr_widget_prompt_experiment.rb b/app/experiments/security_reports_mr_widget_prompt_experiment.rb new file mode 100644 index 00000000000..fa0ba8e24d4 --- /dev/null +++ b/app/experiments/security_reports_mr_widget_prompt_experiment.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +class SecurityReportsMrWidgetPromptExperiment < ApplicationExperiment # rubocop:disable Gitlab/NamespacedClass + def publish(_result = nil) + super + + publish_to_database + end + + # This is a purely client side experiment, and since we don't have a nicer + # way to define variants yet, we define them here. + def candidate_behavior + end +end |