Skip to content

Commit ce2ad13

Browse files
authored
Merge pull request #467 from sapientpants/fix-clear-site-data-example
Fix ClearSiteData example
2 parents c32e49f + 7aeb06f commit ce2ad13

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)