Welcome to mirror list, hosted at ThFree Co, Russian Federation.

combined_registration_experiment.rb « experiments « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 38295cec0d33044deb25ad83f6d041b4a97aff4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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