diff options
Diffstat (limited to 'railties/lib/rails/tasks/middleware.rake')
-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 |