aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2008-12-21 13:30:51 +1030
committerRyan Bigg <radarlistener@gmail.com>2008-12-21 13:30:51 +1030
commit4fc9f69e54e649e2bc14a796ad7363426958a5ad (patch)
treef6bb401cb70e449fc79b1754fd46fa4fa71ad5da /railties/lib/tasks
parent199f4c54ea3139168a867b7f80ac789a3c29a48d (diff)
parent19939fd4c0d0e4eae4ec71df13228547dba03287 (diff)
downloadrails-4fc9f69e54e649e2bc14a796ad7363426958a5ad.tar.gz
rails-4fc9f69e54e649e2bc14a796ad7363426958a5ad.tar.bz2
rails-4fc9f69e54e649e2bc14a796ad7363426958a5ad.zip
Merge branch 'master' of git@github.com:lifo/docrails
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r--railties/lib/tasks/middleware.rake2
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"