diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2006-02-26 17:49:09 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2006-02-26 17:49:09 +0000 |
commit | 26eaf073c4de8276663f927fdeeb91453e8b3956 (patch) | |
tree | 1690bbb49d971b063e240d155d58c503de938ee5 /railties/builtin/controllers | |
parent | d11f8d551640c94e22c221c3bee39ab572b1dc72 (diff) | |
download | rails-26eaf073c4de8276663f927fdeeb91453e8b3956.tar.gz rails-26eaf073c4de8276663f927fdeeb91453e8b3956.tar.bz2 rails-26eaf073c4de8276663f927fdeeb91453e8b3956.zip |
Remove ::Controllers related cruft; fix AP tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/builtin/controllers')
-rw-r--r-- | railties/builtin/controllers/rails_info_controller.rb | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/railties/builtin/controllers/rails_info_controller.rb b/railties/builtin/controllers/rails_info_controller.rb index ca2801e075..fe3c2d7c5d 100644 --- a/railties/builtin/controllers/rails_info_controller.rb +++ b/railties/builtin/controllers/rails_info_controller.rb @@ -1,11 +1,9 @@ -module Controllers #:nodoc: - class RailsInfoController < ApplicationController - 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 +class RailsInfoController < ApplicationController + 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
\ No newline at end of file +end |