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:
authorAsh McKenzie <amckenzie@gitlab.com>2019-06-27 06:48:21 +0300
committerAsh McKenzie <amckenzie@gitlab.com>2019-06-28 03:10:48 +0300
commite00b75862b0f9dc6d30960e41be8fbabe293bf1c (patch)
tree069460b8b1d949a341b069d80845840cd0c778a9 /app/controllers
parent83b1fd120a67b0e1f10e2870a8c2923f5c1a6b42 (diff)
Add A/B testing support to onboarding
Check if we're gitlab.com and the :user_onboarding feature flag is enabled.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/dashboard/projects_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/dashboard/projects_controller.rb b/app/controllers/dashboard/projects_controller.rb
index 65d14781d92..d43f5393ecc 100644
--- a/app/controllers/dashboard/projects_controller.rb
+++ b/app/controllers/dashboard/projects_controller.rb
@@ -3,6 +3,7 @@
class Dashboard::ProjectsController < Dashboard::ApplicationController
include ParamsBackwardCompatibility
include RendersMemberAccess
+ include OnboardingExperimentHelper
prepend_before_action(only: [:index]) { authenticate_sessionless_user!(:rss) }
before_action :set_non_archived_param