debian-mirror-gitlab/app/experiments/combined_registration_experiment.rb
2022-05-07 20:08:51 +05:30

16 lines
355 B
Ruby

# frozen_string_literal: true
class CombinedRegistrationExperiment < ApplicationExperiment
include Rails.application.routes.url_helpers
control { new_users_sign_up_group_path }
candidate { new_users_sign_up_groups_project_path }
def key_for(source, _ = nil)
super(source, 'force_company_trial')
end
def redirect_path
run
end
end