Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b661c9603a
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (11 sloc) 0.333 kb
module Controllers #:nodoc:
class RailsInfoController < ApplicationController
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
Jump to Line
Something went wrong with that request. Please try again.