Skip to content

Commit 7aeb06f

Browse files
committed
Fix ClearSiteData example
1 parent 5592e9a commit 7aeb06f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/per_action_configuration.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ You can clear the browser cache after the logout request by using the following.
120120
class ApplicationController < ActionController::Base
121121
# Configuration override to send the Clear-Site-Data header.
122122
SecureHeaders::Configuration.override(:clear_browser_cache) do |config|
123-
config.clear_site_data = [
124-
SecureHeaders::ClearSiteData::ALL_TYPES
125-
]
123+
config.clear_site_data = SecureHeaders::ClearSiteData::ALL_TYPES
126124
end
127125

128126

0 commit comments

Comments
 (0)