blob: ff943b130a8ccf99aea79a4877bc1f3416c3c4e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
class RailsInfoController < ActionController::Base
def self.reloadable?() false end
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
|