debian-mirror-gitlab/app/helpers/onboarding_experiment_helper.rb
2019-12-04 20:38:33 +05:30

9 lines
252 B
Ruby

# frozen_string_literal: true
module OnboardingExperimentHelper
def allow_access_to_onboarding?
::Gitlab.dev_env_or_com? && Feature.enabled?(:user_onboarding)
end
end
OnboardingExperimentHelper.prepend_if_ee('EE::OnboardingExperimentHelper')