debian-mirror-gitlab/app/experiments/force_company_trial_experiment.rb
2021-10-27 15:23:28 +05:30

11 lines
243 B
Ruby

# 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