class method
self.default_hsts_options
Ruby on Rails 5.0.7.2
Since v4.0.13 Last seen in v5.1.7Signature
self.default_hsts_options()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/middleware/ssl.rb, line 47
def self.default_hsts_options
{ expires: HSTS_EXPIRES_IN, subdomains: false, preload: false }
end
Defined in actionpack/lib/action_dispatch/middleware/ssl.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::SSL