summaryrefslogtreecommitdiff
path: root/app/helpers/onboarding_experiment_helper.rb
blob: 138fc60479dfc1ed33cbabb8775eaaefb0be7d51 (plain)
1
2
3
4
5
6
7
8
9
# 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')