method

mark_as_authorized

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: HostAuthorization
mark_as_authorized(request) private

No documentation

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

Hide source
# File actionpack/lib/action_dispatch/middleware/host_authorization.rb, line 166
      def mark_as_authorized(request)
        request.set_header("action_dispatch.authorized_host", request.host)
      end
Register or log in to add new notes.