diff options
Diffstat (limited to 'app/controllers/profiles_controller.rb')
-rw-r--r-- | app/controllers/profiles_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index 0687c057d47..c85c83688a4 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -2,6 +2,7 @@ class ProfilesController < Profiles::ApplicationController include ActionView::Helpers::SanitizeHelper + include Gitlab::Tracking before_action :user before_action :authorize_change_username!, only: :update_username @@ -65,6 +66,8 @@ class ProfilesController < Profiles::ApplicationController @events = AuditEvent.where(entity_type: "User", entity_id: current_user.id) .order("created_at DESC") .page(params[:page]) + + Gitlab::Tracking.event(self.class.name, 'search_audit_event') end # rubocop: enable CodeReuse/ActiveRecord |