Skip to content

Commit f208799

Browse files
authored
Merge pull request #417 from JuanitoFatas/doc/opt-out
Fix references to OPT_OUT constant
2 parents c73952a + ffd593c commit f208799

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/cookies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Boolean-based configuration is intended to globally enable or disable a specific
2525
```ruby
2626
config.cookies = {
2727
secure: true, # mark all cookies as Secure
28-
httponly: OPT_OUT, # do not mark any cookies as HttpOnly
28+
httponly: SecureHeaders::OPT_OUT, # do not mark any cookies as HttpOnly
2929
}
3030
```
3131

docs/upgrading-to-6-0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The original implementation of name overrides worked by making a copy of the def
55
```ruby
66
class ApplicationController < ActionController::Base
77
Configuration.default do |config|
8-
config.x_frame_options = OPT_OUT
8+
config.x_frame_options = SecureHeaders::OPT_OUT
99
end
1010

1111
SecureHeaders::Configuration.override(:dynamic_override) do |config|

0 commit comments

Comments
 (0)