debian-mirror-gitlab/app/experiments/combined_registration_experiment.rb

22 lines
435 B
Ruby
Raw Normal View History

2021-11-11 11:23:49 +05:30
# frozen_string_literal: true
class CombinedRegistrationExperiment < ApplicationExperiment # rubocop:disable Gitlab/NamespacedClass
include Rails.application.routes.url_helpers
def key_for(source, _ = nil)
super(source, 'force_company_trial')
end
2022-01-26 12:08:38 +05:30
def redirect_path
2021-11-11 11:23:49 +05:30
run
end
def control_behavior
2022-01-26 12:08:38 +05:30
new_users_sign_up_group_path
2021-11-11 11:23:49 +05:30
end
def candidate_behavior
new_users_sign_up_groups_project_path
end
end