aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/middleware.rake
blob: 31e961b483c0730db7e89f87e30eb049db64aee6 (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