aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/railtie
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-03-08 11:39:33 -0800
committerCarlhuda <carlhuda@engineyard.com>2010-03-08 11:40:51 -0800
commitae93789d9ad9095ca21784287464b760db12a095 (patch)
tree8872090a13433a4b9d4878bb30a5a1df825eefba /railties/lib/rails/railtie
parent79b0b5082c74b008c73dabcd3216fdc5bac8e6ee (diff)
downloadrails-ae93789d9ad9095ca21784287464b760db12a095.tar.gz
rails-ae93789d9ad9095ca21784287464b760db12a095.tar.bz2
rails-ae93789d9ad9095ca21784287464b760db12a095.zip
Move middlewares to the Application level. If you want to modify the middleware, either use Rails.application.config.middleware or modify it in an initializer (if you need to set it relative to user-specified middleware).
Diffstat (limited to 'railties/lib/rails/railtie')
-rw-r--r--railties/lib/rails/railtie/configuration.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/lib/rails/railtie/configuration.rb b/railties/lib/rails/railtie/configuration.rb
index 6a8c4ca09f..828ccec3d0 100644
--- a/railties/lib/rails/railtie/configuration.rb
+++ b/railties/lib/rails/railtie/configuration.rb
@@ -10,10 +10,6 @@ module Rails
@session_options = {}
end
- def middleware
- @@default_middleware_stack ||= default_middleware
- end
-
# Holds generators configuration:
#
# config.generators do |g|