diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-03-20 14:03:43 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-03-20 14:03:43 -0500 |
commit | fcc6b12e77e2304a5b6be5c972749e2360dba62a (patch) | |
tree | 2c25bb71ad7f143d9c764e71b6c6e11161def43b /railties/lib/rails | |
parent | 14b7452c578b8a1594daa8ae87fa26530601669c (diff) | |
download | rails-fcc6b12e77e2304a5b6be5c972749e2360dba62a.tar.gz rails-fcc6b12e77e2304a5b6be5c972749e2360dba62a.tar.bz2 rails-fcc6b12e77e2304a5b6be5c972749e2360dba62a.zip |
Autoload Rails::Info
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/info_controller.rb | 2 | ||||
-rw-r--r-- | railties/lib/rails/info_routes.rb | 2 | ||||
-rw-r--r-- | railties/lib/rails/tasks/misc.rake | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/railties/lib/rails/info_controller.rb b/railties/lib/rails/info_controller.rb index 18f13dc095..196eeb4a6c 100644 --- a/railties/lib/rails/info_controller.rb +++ b/railties/lib/rails/info_controller.rb @@ -1,5 +1,3 @@ -require 'rails/info' - class Rails::InfoController < ActionController::Base def properties if consider_all_requests_local? || local_request? diff --git a/railties/lib/rails/info_routes.rb b/railties/lib/rails/info_routes.rb index 2e4157ea8d..bd58034d8f 100644 --- a/railties/lib/rails/info_routes.rb +++ b/railties/lib/rails/info_routes.rb @@ -1,5 +1,3 @@ -require 'rails/info_controller' - Rails.application.routes.draw do |map| match '/rails/info/properties' => "rails/info#properties" end diff --git a/railties/lib/rails/tasks/misc.rake b/railties/lib/rails/tasks/misc.rake index 2309c91d83..0926707a04 100644 --- a/railties/lib/rails/tasks/misc.rake +++ b/railties/lib/rails/tasks/misc.rake @@ -15,7 +15,6 @@ end desc 'Explain the current environment' task :about do - require 'rails/info' puts Rails::Info end |