aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/tasks/middleware.rake
blob: 251da67c96cb15f5db40510f1ba07af83b2f7fda (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 #{Rails::Application.instance.class.name}.routes"
end