class RailsInfoController < ApplicationController def properties if local_request? render :inline => Rails::Info.to_html else render :text => '
For security purposes, this information is only available to local requests.
', :status => 500 end end end