Froze rails gems
[depot.git] / vendor / rails / railties / builtin / rails_info / rails / info_controller.rb
1 class Rails::InfoController < ActionController::Base
2 def properties
3 if consider_all_requests_local || local_request?
4 render :inline => Rails::Info.to_html
5 else
6 render :text => '<p>For security purposes, this information is only available to local requests.</p>', :status => 500
7 end
8 end
9 end