summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2019-06-27 13:48:21 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2019-06-28 10:10:48 +1000
commite00b75862b0f9dc6d30960e41be8fbabe293bf1c (patch)
tree069460b8b1d949a341b069d80845840cd0c778a9 /app
parent83b1fd120a67b0e1f10e2870a8c2923f5c1a6b42 (diff)
downloadgitlab-ce-e00b75862b0f9dc6d30960e41be8fbabe293bf1c.tar.gz
Add A/B testing support to onboarding82-add-new-onboarding-to-flipper-a-b-testing
Check if we're gitlab.com and the :user_onboarding feature flag is enabled.
Diffstat (limited to 'app')
-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