debian-mirror-gitlab/app/helpers/onboarding_experiment_helper.rb

10 lines
252 B
Ruby
Raw Normal View History

2019-09-30 21:07:59 +05:30
# frozen_string_literal: true
module OnboardingExperimentHelper
def allow_access_to_onboarding?
2019-12-04 20:38:33 +05:30
::Gitlab.dev_env_or_com? && Feature.enabled?(:user_onboarding)
2019-09-30 21:07:59 +05:30
end
end
2019-12-04 20:38:33 +05:30
OnboardingExperimentHelper.prepend_if_ee('EE::OnboardingExperimentHelper')