method
require_local!
v5.0.0.1 -
Show latest stable
- Class:
Rails::ApplicationController
require_local!()protected
No documentation available.
# File railties/lib/rails/application_controller.rb, line 7
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