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:
Diffstat (limited to 'app/helpers/onboarding_experiment_helper.rb')
-rw-r--r--app/helpers/onboarding_experiment_helper.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/onboarding_experiment_helper.rb b/app/helpers/onboarding_experiment_helper.rb
index ad49d333d7a..138fc60479d 100644
--- a/app/helpers/onboarding_experiment_helper.rb
+++ b/app/helpers/onboarding_experiment_helper.rb
@@ -2,6 +2,8 @@
module OnboardingExperimentHelper
def allow_access_to_onboarding?
- ::Gitlab.com? && Feature.enabled?(:user_onboarding)
+ ::Gitlab.dev_env_or_com? && Feature.enabled?(:user_onboarding)
end
end
+
+OnboardingExperimentHelper.prepend_if_ee('EE::OnboardingExperimentHelper')