method
require_local!
v8.0.0 -
Show latest stable
- Class:
Rails::ApplicationController
require_local!()private
No documentation available.
# File railties/lib/rails/application_controller.rb, line 15
def require_local!
unless local_request?
render html: "<p>For security purposes, this information is only available to local requests.</p>".html_safe, status: :forbidden
end
end