We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e08edc + a28d080 commit f997932Copy full SHA for f997932
1 file changed
app/controllers/application_controller.rb
@@ -14,6 +14,7 @@ class ApplicationController < ActionController::Base
14
before_action :set_service_guide_url
15
before_action :set_show_navigation
16
before_action :set_privacy_policy_url
17
+ before_action :set_sentry_user
18
before_action :authenticate_basic
19
20
after_action :verify_policy_scoped, if: -> { Rails.env.local? }
@@ -75,4 +76,8 @@ def set_service_guide_url
75
76
def set_privacy_policy_url
77
@privacy_policy_url = nil
78
end
79
+
80
+ def set_sentry_user
81
+ Sentry.set_user(id: current_user&.id)
82
+ end
83
0 commit comments