gitlab-org--gitlab-foss/app/helpers/onboarding_experiment_helper.rb
Ash McKenzie 83b1fd120a
Add new OnboardingExperimentHelper modules
OnboardingExperimentHelpers take care of
determining if the current_user should or should
not see the new onboarding feature.
2019-06-28 10:10:47 +10:00

7 lines
165 B
Ruby

# frozen_string_literal: true
module OnboardingExperimentHelper
def allow_access_to_onboarding?
::Gitlab.com? && Feature.enabled?(:user_onboarding)
end
end