blob: e0dcf503076526f44f676e5e81d705065d4dcd91 (
plain) (
tree)
|
|
desc 'Prints out your Rack middleware stack'
task :middleware => :environment do
ActionController::Dispatcher.middleware.each do |middleware|
puts "use #{middleware.inspect}"
end
puts "run ActionController::Dispatcher.new"
end
|