aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/middleware.rake
blob: fd98be1ea9ae91185ce9a95472063f57b931a38f (plain) (blame)
1
2
3
4
5
6
7
desc "Prints out your Rack middleware stack"
task middleware: :environment do
  Rails.configuration.middleware.each do |middleware|
    puts "use #{middleware.inspect}"
  end
  puts "run #{Rails.application.class.name}.routes"
end