diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-02-25 22:00:46 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-02-25 22:00:46 -0300 |
commit | f78d0eded3266918242027dab6bd10d07bcb55d5 (patch) | |
tree | f4921fd23026c82ba7bbf194ca56d0a544eb930d /actionpack/lib/action_dispatch | |
parent | 0e24fcc5eb9591edb0236d33602445f6c0fc90ff (diff) | |
download | rails-f78d0eded3266918242027dab6bd10d07bcb55d5.tar.gz rails-f78d0eded3266918242027dab6bd10d07bcb55d5.tar.bz2 rails-f78d0eded3266918242027dab6bd10d07bcb55d5.zip |
:nail_care:
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/ssl.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/ssl.rb b/actionpack/lib/action_dispatch/middleware/ssl.rb index d6a0fe650c..711d8b016a 100644 --- a/actionpack/lib/action_dispatch/middleware/ssl.rb +++ b/actionpack/lib/action_dispatch/middleware/ssl.rb @@ -49,7 +49,7 @@ module ActionDispatch if options[:host] || options[:port] ActiveSupport::Deprecation.warn <<-end_warning.strip_heredoc The `:host` and `:port` options are moving within `:redirect`: - `config.ssl_options = { redirect: { host: …, port: … }}`. + `config.ssl_options = { redirect: { host: …, port: … } }`. end_warning @redirect = options.slice(:host, :port) else @@ -63,7 +63,7 @@ module ActionDispatch ActiveSupport::Deprecation.warn <<-end_warning.strip_heredoc In Rails 5.1, The `:subdomains` option of HSTS config will be treated as true if - unspecified. Set `config.ssl_options = { hsts: { subdomains: false }}` to opt out + unspecified. Set `config.ssl_options = { hsts: { subdomains: false } }` to opt out of this behavior. end_warning end |