diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2006-03-19 18:45:26 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2006-03-19 18:45:26 +0000 |
commit | 5ff59bff822055793412c93d345c42c371eb4824 (patch) | |
tree | 8a5bf13a769170a15e4fccc56824fdfcbe098955 /railties/builtin/controllers/rails_info_controller.rb | |
parent | b42195cdb7c150626af1fe9cb720be14df5638ac (diff) | |
download | rails-5ff59bff822055793412c93d345c42c371eb4824.tar.gz rails-5ff59bff822055793412c93d345c42c371eb4824.tar.bz2 rails-5ff59bff822055793412c93d345c42c371eb4824.zip |
Remove explicit loading of RailsInfo and RailsInfoController.
Move RailsInfo and RailsInfoController to Rails::Info and Rails::InfoController.
Extend load path with Railties' builtin directory to make adding support code easy.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/builtin/controllers/rails_info_controller.rb')
-rw-r--r-- | railties/builtin/controllers/rails_info_controller.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/railties/builtin/controllers/rails_info_controller.rb b/railties/builtin/controllers/rails_info_controller.rb deleted file mode 100644 index ff943b130a..0000000000 --- a/railties/builtin/controllers/rails_info_controller.rb +++ /dev/null @@ -1,12 +0,0 @@ -class RailsInfoController < ActionController::Base - - def self.reloadable?() false end - - def properties - if local_request? - render :inline => Rails::Info.to_html - else - render :text => '<p>For security purposes, this information is only available to local requests.</p>', :status => 500 - end - end -end |