diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2019-06-27 06:48:21 +0300 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2019-06-28 03:10:48 +0300 |
commit | e00b75862b0f9dc6d30960e41be8fbabe293bf1c (patch) | |
tree | 069460b8b1d949a341b069d80845840cd0c778a9 /app/controllers/dashboard | |
parent | 83b1fd120a67b0e1f10e2870a8c2923f5c1a6b42 (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/dashboard')
-rw-r--r-- | app/controllers/dashboard/projects_controller.rb | 1 |
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 |