aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/tasks/middleware.rake
blob: e1ab309157683ad19c2b903dcd27d31a68dd38b6 (plain) (tree)
1
2
3
4
5
6
7

                                            
                                                            

                                    
                                              
   
desc 'Prints out your Rack middleware stack'
task :middleware => :environment do
  Rails.configuration.middleware.active.each do |middleware|
    puts "use #{middleware.inspect}"
  end
  puts "run ActionController::Routing::Routes"
end