From db65bb5a31dc91f9c74dc310425a42ece489b74e Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sat, 26 Sep 2009 12:41:17 -0500 Subject: Pull middleware for Rails info from the initializer instead of ActionController --- railties/builtin/rails_info/rails/info.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/builtin/rails_info/rails') diff --git a/railties/builtin/rails_info/rails/info.rb b/railties/builtin/rails_info/rails/info.rb index aabe976d4e..48d89ad06a 100644 --- a/railties/builtin/rails_info/rails/info.rb +++ b/railties/builtin/rails_info/rails/info.rb @@ -114,7 +114,7 @@ module Rails end property 'Middleware' do - ActionController::Dispatcher.middleware.active.map {|middle| middle.inspect } + Rails.configuration.middleware.active.map { |middle| middle.inspect } end # The Rails Git revision, if it's checked out into vendor/rails. -- cgit v1.2.3