blob: 7534447043c1d6b7b74fe01bc62894ded3538c6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
module Rails
class InfoController < ActionController::Base
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
end
|