method
require_local!
v4.1.8 -
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 text: '<p>For security purposes, this information is only available to local requests.</p>', status: :forbidden
end
end