method

env_for_request

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Renderer
env_for_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_controller/renderer.rb, line 147
      def env_for_request
        if @env.key?("HTTP_HOST") || controller._routes.nil?
          @env.dup
        else
          controller._routes.default_env.merge(@env)
        end
      end
Register or log in to add new notes.