Class: Rails::InfoController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Rails::InfoController
- Defined in:
- lib/rails/info_controller.rb
Instance Method Summary collapse
Instance Method Details
#properties ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/rails/info_controller.rb', line 2 def properties if consider_all_requests_local? || request.local? render :inline => Rails::Info.to_html else render :text => '<p>For security purposes, this information is only available to local requests.</p>', :status => :forbidden end end |