diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-26 12:41:17 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-26 12:41:17 -0500 |
commit | db65bb5a31dc91f9c74dc310425a42ece489b74e (patch) | |
tree | 2419459faaa2474c58864d5980fe91a685c3d259 /railties/lib/rails/tasks | |
parent | 438ff3b5b9e669392c0607364b70de010e862cec (diff) | |
download | rails-db65bb5a31dc91f9c74dc310425a42ece489b74e.tar.gz rails-db65bb5a31dc91f9c74dc310425a42ece489b74e.tar.bz2 rails-db65bb5a31dc91f9c74dc310425a42ece489b74e.zip |
Pull middleware for Rails info from the initializer instead of ActionController
Diffstat (limited to 'railties/lib/rails/tasks')
-rw-r--r-- | railties/lib/rails/tasks/middleware.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/tasks/middleware.rake b/railties/lib/rails/tasks/middleware.rake index 05f159184e..e1ab309157 100644 --- a/railties/lib/rails/tasks/middleware.rake +++ b/railties/lib/rails/tasks/middleware.rake @@ -1,7 +1,7 @@ desc 'Prints out your Rack middleware stack' task :middleware => :environment do - ActionController::Dispatcher.middleware.active.each do |middleware| + Rails.configuration.middleware.active.each do |middleware| puts "use #{middleware.inspect}" end - puts "run ActionController::Dispatcher.new" + puts "run ActionController::Routing::Routes" end |