1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Middleware stack actually runs routes and not the application.

This commit is contained in:
José Valim 2010-01-26 15:00:16 +01:00
parent f8bf1982df
commit 517b35a2bb

View file

@ -3,5 +3,5 @@ task :middleware => :environment do
Rails.configuration.middleware.active.each do |middleware|
puts "use #{middleware.inspect}"
end
puts "run #{Rails::Application.instance.class.name}"
puts "run #{Rails::Application.instance.class.name}.routes"
end