Sha256: d8e6da8a40a823801158dcf87353af23281556128416d514b215c07131a8b43d
Contents?: true
Size: 314 Bytes
Versions: 1
Compression:
Stored size: 314 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-1.1.0 | builtin/rails_info/rails/info_controller.rb |