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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to skip_session_write


def skip_session
request.session_options[:skip] = %w[widget_chart_data widget_report_data].include?(action_name)
end

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