method

require_local!

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ApplicationController
require_local!() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.