blob: 05745d606d2a939b4a506814ac8a55624ffbdb24 (
plain) (
tree)
|
|
class Rails::InfoController < ActionController::Base
def properties
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
end
end
end
|