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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
355 B
Ruby
Raw Normal View History

2021-11-11 11:23:49 +05:30
# frozen_string_literal: true
2022-04-04 11:22:00 +05:30
class CombinedRegistrationExperiment < ApplicationExperiment
2021-11-11 11:23:49 +05:30
include Rails.application.routes.url_helpers
2022-05-07 20:08:51 +05:30
control { new_users_sign_up_group_path }
candidate { new_users_sign_up_groups_project_path }
2021-11-11 11:23:49 +05:30
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
end