diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/tasks/middleware.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/middleware.rake b/railties/lib/tasks/middleware.rake index e0dcf50307..05f159184e 100644 --- a/railties/lib/tasks/middleware.rake +++ b/railties/lib/tasks/middleware.rake @@ -1,6 +1,6 @@ desc 'Prints out your Rack middleware stack' task :middleware => :environment do - ActionController::Dispatcher.middleware.each do |middleware| + ActionController::Dispatcher.middleware.active.each do |middleware| puts "use #{middleware.inspect}" end puts "run ActionController::Dispatcher.new" |