diff --git a/docs/per_action_configuration.md b/docs/per_action_configuration.md index c17a9e5f..dcf43787 100644 --- a/docs/per_action_configuration.md +++ b/docs/per_action_configuration.md @@ -120,9 +120,7 @@ You can clear the browser cache after the logout request by using the following. class ApplicationController < ActionController::Base # Configuration override to send the Clear-Site-Data header. SecureHeaders::Configuration.override(:clear_browser_cache) do |config| - config.clear_site_data = [ - SecureHeaders::ClearSiteData::ALL_TYPES - ] + config.clear_site_data = SecureHeaders::ClearSiteData::ALL_TYPES end