aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-03-17 10:25:26 -0700
committerJosé Valim <jose.valim@gmail.com>2012-03-17 10:25:26 -0700
commitadadd865a2688f31146c877fbeea1269a15d41f4 (patch)
tree280c1871410363b6bd16b5efe6af12373b615180 /railties/lib/rails
parent6ce54d4ba8c220a84e55e7dd798d364c3f48d9f7 (diff)
parentda5a47e7b9cd438c68276ad0886f9bb1260867b0 (diff)
downloadrails-adadd865a2688f31146c877fbeea1269a15d41f4.tar.gz
rails-adadd865a2688f31146c877fbeea1269a15d41f4.tar.bz2
rails-adadd865a2688f31146c877fbeea1269a15d41f4.zip
Merge pull request #5488 from rafaelfranca/ad-ssl
Remove Rack::SSL in favour of ActionDispatch::SSL
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/application.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb
index 8d64aff430..d7b8350963 100644
--- a/railties/lib/rails/application.rb
+++ b/railties/lib/rails/application.rb
@@ -225,8 +225,7 @@ module Rails
end
if config.force_ssl
- require "rack/ssl"
- middleware.use ::Rack::SSL, config.ssl_options
+ middleware.use ::ActionDispatch::SSL, config.ssl_options
end
if config.action_dispatch.x_sendfile_header.present?