We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5592e9a commit 7aeb06fCopy full SHA for 7aeb06f
1 file changed
docs/per_action_configuration.md
@@ -120,9 +120,7 @@ You can clear the browser cache after the logout request by using the following.
120
class ApplicationController < ActionController::Base
121
# Configuration override to send the Clear-Site-Data header.
122
SecureHeaders::Configuration.override(:clear_browser_cache) do |config|
123
- config.clear_site_data = [
124
- SecureHeaders::ClearSiteData::ALL_TYPES
125
- ]
+ config.clear_site_data = SecureHeaders::ClearSiteData::ALL_TYPES
126
end
127
128
0 commit comments