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 b8570b0 commit 27e494aCopy full SHA for 27e494a
app/controllers/dashboard_controller.rb
@@ -16,6 +16,12 @@ class DashboardController < ApplicationController
16
external_authenticate kerberos_authenticate saml_login oidc_login]
17
after_action :cleanup_action, :except => %i[csp_report]
18
19
+ after_action :skip_session_write
20
+
21
+ def skip_session_write
22
+ request.session_options[:skip] = %w[widget_chart_data widget_report_data].include?(action_name) if %w[GET HEAD].include?(request.request_method)
23
+ end
24
25
def index
26
redirect_to(:action => 'show')
27
end
0 commit comments