gitlab-org--gitlab-foss/app/experiments/force_company_trial_experiment.rb

12 lines
243 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class ForceCompanyTrialExperiment < ApplicationExperiment # rubocop:disable Gitlab/NamespacedClass
exclude :setup_for_personal
private
def setup_for_personal
!context.user.setup_for_company
end
end