diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-06-02 21:55:42 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-06-02 21:55:42 -0500 |
commit | 442d2f1032df6744c11f21b5ec6281c77e39c242 (patch) | |
tree | 68cab5238c5247827d3f230ea9f6f5d8d85208f8 /railties/builtin | |
parent | 92050f6c6f586b2a73aeb61da4f41b9822bbcf6d (diff) | |
download | rails-442d2f1032df6744c11f21b5ec6281c77e39c242.tar.gz rails-442d2f1032df6744c11f21b5ec6281c77e39c242.tar.bz2 rails-442d2f1032df6744c11f21b5ec6281c77e39c242.zip |
Fixed that RailsInfoController wasnt considering all requests local in development mode (Edgard Castro) [#310 state:resolved]
Diffstat (limited to 'railties/builtin')
-rw-r--r-- | railties/builtin/rails_info/rails/info_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/builtin/rails_info/rails/info_controller.rb b/railties/builtin/rails_info/rails/info_controller.rb index 39f8b1f120..05745d606d 100644 --- a/railties/builtin/rails_info/rails/info_controller.rb +++ b/railties/builtin/rails_info/rails/info_controller.rb @@ -1,6 +1,6 @@ class Rails::InfoController < ActionController::Base def properties - if local_request? + if consider_all_requests_local || 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 |