Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions app/controllers/dashboard_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ class DashboardController < ApplicationController
external_authenticate kerberos_authenticate saml_login oidc_login]
after_action :cleanup_action, :except => %i[csp_report]

after_action :skip_session_write

def skip_session_write
request.session_options[:skip] = %w[widget_chart_data widget_report_data].include?(action_name) if %w[GET HEAD OPTIONS].include?(request.request_method)
end

def index
redirect_to(:action => 'show')
end
Expand Down