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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/registrations/experience_levels_controller.rb')
-rw-r--r--app/controllers/registrations/experience_levels_controller.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/app/controllers/registrations/experience_levels_controller.rb b/app/controllers/registrations/experience_levels_controller.rb
index 23126983eb5..b6ed0366177 100644
--- a/app/controllers/registrations/experience_levels_controller.rb
+++ b/app/controllers/registrations/experience_levels_controller.rb
@@ -2,9 +2,8 @@
module Registrations
class ExperienceLevelsController < ApplicationController
- layout 'devise_experimental_onboarding_issues'
+ layout 'signup_onboarding'
- before_action :check_experiment_enabled
before_action :ensure_namespace_path_param
feature_category :navigation
@@ -14,9 +13,8 @@ module Registrations
if current_user.save
hide_advanced_issues
- record_experiment_user(:default_to_issues_board)
- if experiment_enabled?(:default_to_issues_board) && learn_gitlab.available?
+ if learn_gitlab.available?
redirect_to namespace_project_board_path(params[:namespace_path], learn_gitlab.project, learn_gitlab.board)
else
redirect_to group_path(params[:namespace_path])
@@ -28,10 +26,6 @@ module Registrations
private
- def check_experiment_enabled
- access_denied! unless experiment_enabled?(:onboarding_issues)
- end
-
def ensure_namespace_path_param
redirect_to root_path unless params[:namespace_path].present?
end