We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdde673 commit 17e4f10Copy full SHA for 17e4f10
app/controllers/decidim_controller.rb
@@ -2,13 +2,4 @@
2
# entry point, but you can change what controller it inherits from
3
# so you can customize some methods.
4
class DecidimController < ApplicationController
5
- before_action :set_raven_context
6
-
7
- private
8
9
- def set_raven_context
10
- return unless Rails.application.secrets.dig(:sentry, :enabled)
11
- Raven.user_context({id: try(:current_user).try(:id)}.merge(session))
12
- Raven.extra_context(params: params.to_unsafe_h, url: request.url)
13
- end
14
end
0 commit comments