method

require_local!

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ApplicationController
require_local!() protected

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