aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js')
0 files changed, 0 insertions, 0 deletions
>hotfix/0.18.0.3 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/rails-2.1.0/railties/builtin/rails_info/rails/info_controller.rb
blob: 39f8b1f1202196904be4e22b1ed7d24357f2c7dd (plain)
1
2
3
4
5
6
7
8
9
class Rails::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