diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-12-18 12:00:54 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-18 12:00:54 -0600 |
commit | 2eb2ec9e635c740684673495ed547d1c0769038d (patch) | |
tree | 55c28e8c3d11823ad15e9815039d8239afe7287a /railties/lib/tasks/middleware.rake | |
parent | 3ff6b00ee30d0961f57e3c4b64ec8ff0155aaf2d (diff) | |
download | rails-2eb2ec9e635c740684673495ed547d1c0769038d.tar.gz rails-2eb2ec9e635c740684673495ed547d1c0769038d.tar.bz2 rails-2eb2ec9e635c740684673495ed547d1c0769038d.zip |
Move gaint lock into middleware
Diffstat (limited to 'railties/lib/tasks/middleware.rake')
-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" |