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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-20 17:22:11 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-20 17:22:11 +0300
commit0c872e02b2c822e3397515ec324051ff540f0cd5 (patch)
treece2fb6ce7030e4dad0f4118d21ab6453e5938cdd /app/controllers/registrations
parentf7e05a6853b12f02911494c4b3fe53d9540d74fc (diff)
Add latest changes from gitlab-org/gitlab@15-7-stable-eev15.7.0-rc42
Diffstat (limited to 'app/controllers/registrations')
-rw-r--r--app/controllers/registrations/welcome_controller.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/registrations/welcome_controller.rb b/app/controllers/registrations/welcome_controller.rb
index a49b82319da..4a42632a980 100644
--- a/app/controllers/registrations/welcome_controller.rb
+++ b/app/controllers/registrations/welcome_controller.rb
@@ -14,12 +14,16 @@ module Registrations
def show
return redirect_to path_for_signed_in_user(current_user) if completed_welcome_step?
+
+ track_event('render')
end
def update
result = ::Users::SignupService.new(current_user, update_params).execute
if result[:status] == :success
+ track_event('successfully_submitted_form')
+
return redirect_to issues_dashboard_path(assignee_username: current_user.username) if show_tasks_to_be_done?
return redirect_to update_success_path if show_signup_onboarding?
@@ -86,6 +90,10 @@ module Registrations
# overridden in EE
def update_success_path
end
+
+ # overridden in EE
+ def track_event(category)
+ end
end
end